This commit is contained in:
stark1898y 2024-12-10 15:39:32 +08:00
parent ccaaa8a28c
commit 840a11e70e
2 changed files with 14 additions and 1 deletions

View File

@ -181,6 +181,7 @@ static uint8_t scanRspData[] = {
0x06, // 1B 阀门大气压力 80~110 kPa 0x06, // 1B 阀门大气压力 80~110 kPa
}; };
// GAP - Advertisement data (max size = 31 bytes, though this is // GAP - Advertisement data (max size = 31 bytes, though this is
// best kept short to conserve power while advertising) // best kept short to conserve power while advertising)
static uint8_t advertData[] = { static uint8_t advertData[] = {

View File

@ -60,6 +60,14 @@ __attribute__((noinline)) void Main_Circulation()
DelayMs(1000); DelayMs(1000);
PRINT("LED_ALL_OFF_DEINIT\n"); 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
LED_G_ON; LED_G_ON;
DelayMs(1000); DelayMs(1000);
@ -69,6 +77,8 @@ __attribute__((noinline)) void Main_Circulation()
DelayMs(1000); DelayMs(1000);
PRINT("LED_ALL_OFF_DEINIT\n"); PRINT("LED_ALL_OFF_DEINIT\n");
// LED_Y // LED_Y
LED_Y_ON; LED_Y_ON;
DelayMs(1000); DelayMs(1000);
@ -78,13 +88,15 @@ __attribute__((noinline)) void Main_Circulation()
DelayMs(1000); DelayMs(1000);
PRINT("LED_ALL_OFF_DEINIT\n"); PRINT("LED_ALL_OFF_DEINIT\n");
PRINT("Delay 6s\n"); PRINT("Delay 6s\n");
// EMV_CHARGE // EMV_CHARGE
EMV_CHARGE_EN; EMV_CHARGE_EN;
PRINT("EMV_CHARGE_EN\n"); PRINT("EMV_CHARGE_EN\n");
DelayMs(500); DelayMs(1000);
EMV_CHARGE_OFF_DEINIT; EMV_CHARGE_OFF_DEINIT;
PRINT("EMV_CHARGE_OFF_DEINIT 500 ms\n"); PRINT("EMV_CHARGE_OFF_DEINIT 500 ms\n");