Add GetBatteryLevel for Waveshare ESP32-S3-ePaper-1.54 board (#1506)

This commit is contained in:
tojoevan
2025-11-30 11:44:07 +08:00
committed by GitHub
parent 28db4bd60a
commit 2d15bef298
2 changed files with 63 additions and 1 deletions

View File

@@ -15,7 +15,8 @@ void BoardPowerBsp::PowerLedTask(void *arg) {
gpio_set_level(GPIO_NUM_3, 0);
vTaskDelay(pdMS_TO_TICKS(200));
gpio_set_level(GPIO_NUM_3, 1);
vTaskDelay(pdMS_TO_TICKS(200));
// 不需要频繁闪烁,间隔指示效果更好
vTaskDelay(pdMS_TO_TICKS(4800));
}
}