lumini_p30_control/firmware/config.h
2023-04-24 20:26:49 +02:00

20 lines
1.2 KiB
C

#define USE_STATIC_IP //! uncomment to enable Static IP Adress
#define SERIAL_BAUD_RATE 115200
#define light_name "Dimmable Hue Light" //default light name
#define LIGHTS_COUNT 4 // do not modify because luminie p30 only ha 4 channel
#define EEPROM_LAST_STATE_STARTUP_ADDRESS 0 // startup behavior is used for all lights
#define EEPROM_SCENE_ADDRESS 1 // scene is used for all of the lights
#define EEPROM_LAST_STATE_ADDRESS 2 // the first "last state" information for the first light
#define EEPROM_TIMING_CONTROL_ENABLED_ADDRESS 3 // the first "last state" information for the first light
#define EEPROM_DYNAMIC_IP_ADDRESS 4
#define EEPROM_LAST_DEFAULT_BLOCK_ADDRESS 20
#define EEPROM_TIMING_DATA_ADDRESS (EEPROM_TIMING_CONTROL_ENABLED_ADDRESS + LIGHTS_COUNT) // Stored data date per light ELE_USED; HH; MM; CH1; CH2; CH3; CH4;
#define TC_TIME_CHECK_INTERVAL_MS 600000