Millis() / Unsigned long subtraction not working

I assume that you meant that there is no need to use switch/case because using a boolean to determine what happens when it is true as opposed to when it is false is, after all, a state machine

2 Likes