Closed coolguru closed 2 years ago
in your firmware you never call led_write(true);
it is only called in the reset_configuration_task
, you have to call led_write
when you do relay_write
too if you want the led to indicate whether or not the relay is activated or not.
PS: pro tip, you should put the code in between ``` so that it's formatted properly and possible to read it: reference
Led flashes 3 times when button is pressed for config reset but wont come on with relay.