You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During on_boot, is there a way to conditionally perform some actions based on the reset_reason? Specifically, what I wanted to do was to turn on the light with specific brightness and colour temperature if the reset_reason was a power cycle; otherwise, I want the light off by default.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all
During on_boot, is there a way to conditionally perform some actions based on the reset_reason? Specifically, what I wanted to do was to turn on the light with specific brightness and colour temperature if the reset_reason was a power cycle; otherwise, I want the light off by default.
Or is there another way to implement this?
Cheers
Joe
Beta Was this translation helpful? Give feedback.
All reactions