Compare commits

...

3 commits

Author SHA1 Message Date
Kai Lauterbach
33906a2930 Disabled DEVELOPMENT flag for main branch again 2023-05-19 11:09:05 +02:00
Kai Lauterbach
ec30fa512b Fixed light brightness adaptation steps per second 2023-05-19 11:07:25 +02:00
Kai Lauterbach
6b6a1e1658 Enabled DEVELOPMENT flag for devel branch again 2023-05-19 10:52:30 +02:00
3 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -25,7 +25,7 @@
#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 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_LIGHTENGINE_INTERVAL_MS (1000UL / BRI_MOD_STEPS_PER_SEC) // BRI_MOD_STEPS_PER_SEC steps per second to in-/decrease the brightness