I'm struggling a bit here. Ive found the millis() function, bit not sure how to "call" it, and make any decisions based on it.
Can i reset the millis clock to zero with each change of state perhaps? Or is that not the way to go about it
I think i want it to run for 1 sec over all high, just to allow it to cross junctions, and account for flaws in my white floorboards.
Also to stop after 5 secs of white, and assume its lost..
Little help?