day/night cycle on LED 1 from CSV file
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
17
firmware/components/simulator/include/simulator.h
Normal file
17
firmware/components/simulator/include/simulator.h
Normal 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
|
5
firmware/components/simulator/include/storage.h
Normal file
5
firmware/components/simulator/include/storage.h
Normal file
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
void initialize_storage();
|
||||
|
||||
void load_file(const char *filename);
|
Reference in New Issue
Block a user