mirror of
https://github.com/AlexGyver/GyverLamp2.git
synced 2025-08-13 03:07:04 +03:00
v0.22b
This commit is contained in:
@@ -81,7 +81,7 @@ struct Config {
|
||||
int16_t length = 16; // длина ленты
|
||||
int16_t width = 16; // ширина матрицы
|
||||
|
||||
byte GMT = 3; // часовой пояс +13
|
||||
byte GMT = 16; // часовой пояс +13
|
||||
uint32_t cityID = 1; // city ID
|
||||
bool mqtt = 0; // mqtt
|
||||
char mqttID[32]; //
|
||||
@@ -122,13 +122,14 @@ struct Preset {
|
||||
byte fromPal = 0; // из палитры (0/1)
|
||||
};
|
||||
|
||||
#define DAWN_SIZE 23
|
||||
#define DAWN_SIZE 24
|
||||
struct Dawn {
|
||||
byte state[7] = {0, 0, 0, 0, 0, 0, 0}; // (1/0)
|
||||
byte hour[7] = {0, 0, 0, 0, 0, 0, 0}; // (0.. 59)
|
||||
byte minute[7] = {0, 0, 0, 0, 0, 0, 0}; // (0.. 59)
|
||||
byte bright = 100; // (0.. 255)
|
||||
byte time = 1; // (5,10,15,20..)
|
||||
byte post = 1; // (5,10,15,20..)
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user