dim4-bim112: Don't use delay()
or Timeout
in setup()
/initApplication()
#39
Labels
delay()
or Timeout
in setup()
/initApplication()
#39
software-arm-incubation/actuators/led-controller/dim4-bim112/src/Appl.cpp
Line 39 in 58984ca
When programming the physical KNX address and application simultaneously using ETS, the device is restarted after programming the physical address by ETS. This causes
setup()
to be called again. Whilesetup()
is being processed, no telegrams are processed from the bus, which can result in a timeout of ETS trying to program the application.Therefore, in my opinion, it would be better not to use
delay()
orTimeout
timers insetup()
, but to implement the startup delay logic inloop()
.The text was updated successfully, but these errors were encountered: