This commit is contained in:
parent
ccaaa8a28c
commit
840a11e70e
|
@ -181,6 +181,7 @@ static uint8_t scanRspData[] = {
|
|||
0x06, // 1B 阀门大气压力 80~110 kPa
|
||||
};
|
||||
|
||||
|
||||
// GAP - Advertisement data (max size = 31 bytes, though this is
|
||||
// best kept short to conserve power while advertising)
|
||||
static uint8_t advertData[] = {
|
||||
|
|
|
@ -60,6 +60,14 @@ __attribute__((noinline)) void Main_Circulation()
|
|||
DelayMs(1000);
|
||||
PRINT("LED_ALL_OFF_DEINIT\n");
|
||||
|
||||
// BEEP
|
||||
BEEP_ON;
|
||||
DelayMs(1000);
|
||||
PRINT("BEEP_ON\n");
|
||||
BEEP_OFF_DEINIT;
|
||||
DelayMs(1000);
|
||||
PRINT("BEEP_OFF_DEINIT\n");
|
||||
|
||||
// LED_G
|
||||
LED_G_ON;
|
||||
DelayMs(1000);
|
||||
|
@ -69,6 +77,8 @@ __attribute__((noinline)) void Main_Circulation()
|
|||
DelayMs(1000);
|
||||
PRINT("LED_ALL_OFF_DEINIT\n");
|
||||
|
||||
|
||||
|
||||
// LED_Y
|
||||
LED_Y_ON;
|
||||
DelayMs(1000);
|
||||
|
@ -78,13 +88,15 @@ __attribute__((noinline)) void Main_Circulation()
|
|||
DelayMs(1000);
|
||||
PRINT("LED_ALL_OFF_DEINIT\n");
|
||||
|
||||
|
||||
|
||||
PRINT("Delay 6s\n");
|
||||
|
||||
// EMV_CHARGE
|
||||
EMV_CHARGE_EN;
|
||||
PRINT("EMV_CHARGE_EN\n");
|
||||
|
||||
DelayMs(500);
|
||||
DelayMs(1000);
|
||||
|
||||
EMV_CHARGE_OFF_DEINIT;
|
||||
PRINT("EMV_CHARGE_OFF_DEINIT 500 ms\n");
|
||||
|
|
Loading…
Reference in New Issue