Code: Select all
WhiteChannel=millis()%2000<1000?0:100;
--Colin
Code: Select all
WhiteChannel=millis()%2000<1000?0:100;
You hurt my brain a little just then.lnevo wrote:StartTIme+Offset%Repeat<RunTime is the basis for most of the timechecks. You arent using the offset above but if you wanted thats how it works.
The ?0:100 is like an if else so if the condiction prior is true then 0 else 100