21 lines
559 B
C
21 lines
559 B
C
#pragma once
|
|
|
|
#include "esp_check.h"
|
|
#include <stdint.h>
|
|
|
|
// Configuration structure for the simulation
|
|
typedef struct
|
|
{
|
|
int cycle_duration_minutes;
|
|
} simulation_config_t;
|
|
|
|
char *get_time(void);
|
|
esp_err_t add_light_item(const char time[5], uint8_t red, uint8_t green, uint8_t blue, uint8_t white,
|
|
uint8_t brightness, uint8_t saturation);
|
|
void cleanup_light_items(void);
|
|
void start_simulate_day(void);
|
|
void start_simulate_night(void);
|
|
void start_simulation_task(void);
|
|
void stop_simulation_task(void);
|
|
void start_simulation(void);
|