Compare commits
3 commits
74a7a1e3a3
...
33906a2930
Author | SHA1 | Date | |
---|---|---|---|
|
33906a2930 | ||
|
ec30fa512b | ||
|
6b6a1e1658 |
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -25,7 +25,7 @@
|
||||||
#define EEPROM_NM_ADDRESS (EEPROM_GW_ADDRESS + 4) // step 4 byte further GW
|
#define EEPROM_NM_ADDRESS (EEPROM_GW_ADDRESS + 4) // step 4 byte further GW
|
||||||
#define EEPROM_DNS_ADDRESS (EEPROM_NM_ADDRESS + 4) // step 4 byte further NM
|
#define EEPROM_DNS_ADDRESS (EEPROM_NM_ADDRESS + 4) // step 4 byte further NM
|
||||||
|
|
||||||
#define BRI_MOD_STEPS_PER_SEC 25
|
#define BRI_MOD_STEPS_PER_SEC 5 // 1000ms / 40ms delay in loop / 4 functions called separately by FSM => 6.25 calls of the tc update function per second maximum => 5 step should be ok
|
||||||
|
|
||||||
#define TIME_CHECK_INTERVAL_MS (60000UL) // 60 second interval
|
#define TIME_CHECK_INTERVAL_MS (60000UL) // 60 second interval
|
||||||
#define TIME_LIGHTENGINE_INTERVAL_MS (1000UL / BRI_MOD_STEPS_PER_SEC) // BRI_MOD_STEPS_PER_SEC steps per second to in-/decrease the brightness
|
#define TIME_LIGHTENGINE_INTERVAL_MS (1000UL / BRI_MOD_STEPS_PER_SEC) // BRI_MOD_STEPS_PER_SEC steps per second to in-/decrease the brightness
|
||||||
|
|
Loading…
Reference in a new issue