led is blinking

Signed-off-by: Peter Siegmund <mars3142@users.noreply.github.com>
This commit is contained in:
2025-06-07 11:55:21 +02:00
parent 06899c769e
commit 1060142e43
6 changed files with 151 additions and 90 deletions

View File

@@ -2,7 +2,19 @@
void app_main(void)
{
ESP_ERROR_CHECK(beacon_init());
ESP_ERROR_CHECK(wled_init());
ESP_ERROR_CHECK(beacon_start());
if (initBeacon() != ESP_OK)
{
printf("Failed to initialize beacon");
return;
}
if (initWled() != ESP_OK)
{
printf("Failed to initialize WLED");
return;
}
if (startBeacon() != ESP_OK)
{
printf("Failed to start beacon");
return;
}
}