This commit is contained in:
parent
3d70b0770e
commit
5a984bd554
|
@ -5,7 +5,7 @@
|
|||
"type": "mrs-debugger",
|
||||
"request": "launch",
|
||||
"name": "BLE_TYQ_CH584M",
|
||||
"cwd": "f:\\BaiduSyncdisk\\SXDT\\BLE_TYQ\\Firmware\\BLE_TYQ_CH584M",
|
||||
"cwd": "c:\\Users\\16586\\Desktop\\BLE_TYQ_CH584M",
|
||||
"openOCDCfg": {
|
||||
"useLocalOpenOCD": true,
|
||||
"executable": "c:/MounRiver/MounRiver_Studio2/resources/app/resources/win32/components/WCH/OpenOCD/OpenOCD/bin/openocd.exe",
|
||||
|
@ -39,8 +39,8 @@
|
|||
"additionalCommands": []
|
||||
},
|
||||
"loadedFiles": {
|
||||
"executableFile": "f:\\BaiduSyncdisk\\SXDT\\BLE_TYQ\\Firmware\\BLE_TYQ_CH584M\\obj\\BLE_TYQ_CH584M.elf",
|
||||
"symbolFile": "f:\\BaiduSyncdisk\\SXDT\\BLE_TYQ\\Firmware\\BLE_TYQ_CH584M\\obj\\BLE_TYQ_CH584M.elf",
|
||||
"executableFile": "c:\\Users\\16586\\Desktop\\BLE_TYQ_CH584M\\obj\\BLE_TYQ_CH584M.elf",
|
||||
"symbolFile": "c:\\Users\\16586\\Desktop\\BLE_TYQ_CH584M\\obj\\BLE_TYQ_CH584M.elf",
|
||||
"executableFileOffset": 0,
|
||||
"symbolFileOffset": 0
|
||||
},
|
||||
|
|
|
@ -272,15 +272,23 @@ int main(void)
|
|||
GXHTC3C_Init();
|
||||
BSP_ADC_Init();
|
||||
|
||||
DelayMs(2000 * 1);
|
||||
// DelayMs(2000 * 1);
|
||||
|
||||
for (uint8_t i = 0; i < 10; i++)
|
||||
{
|
||||
BOOST_EN;
|
||||
DelayMs(8);
|
||||
|
||||
BOOST_OFF_DEINIT;
|
||||
DelayMs(2);
|
||||
}
|
||||
BSP_BlockSleep();
|
||||
BSP_RequestBoost();
|
||||
|
||||
DelayMs(100);
|
||||
|
||||
BSP_VAVLE_Init();
|
||||
|
||||
|
||||
ShowLed();
|
||||
BEEP_ON;
|
||||
DelayMs(500);
|
||||
|
|
Loading…
Reference in New Issue