Timeline for Millis...alternate flash
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 4, 2017 at 22:22 | comment | added | Doug | Thanks Guys. Firstly, the FOR loop was an attempt to execute the cycle a number of times, but even if that worked I had the wrong approach with millis(). I will use the simpler example at this stage but will study the longer version to see if i can get a better grip on it. I have inserted an increment [count = (count+1);]into the phase2 IF statement and added a counter [if (count == 1000) //return to main program] at the end to exit. This now satisfies my coding question. Thank you for you input. Doug | |
Jan 4, 2017 at 21:52 | vote | accept | Doug | ||
Jan 4, 2017 at 9:25 | history | answered | frarugi87 | CC BY-SA 3.0 |