day/night cycle on LED 1 from CSV file

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-09-26 23:01:26 +02:00
parent f2e2fe4078
commit 845fdd306e
15 changed files with 340 additions and 80 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#include "esp_check.h"
#include <stdint.h>
esp_err_t add_light_item(const char time[5], uint8_t red, uint8_t green, uint8_t blue);
void cleanup_light_items(void);
#ifdef __cplusplus
extern "C"
{
#endif
void simulate(void *args);
#ifdef __cplusplus
}
#endif

View File

@@ -0,0 +1,5 @@
#pragma once
void initialize_storage();
void load_file(const char *filename);