This commit is contained in:
Alex
2021-03-08 15:27:42 +03:00
parent b2c68a6015
commit c93604a59d
9 changed files with 43 additions and 21 deletions

View File

@@ -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..)
};
/*