I did that as I posted and works. So use long for comparison to millis() ?
I did some millis() avr testing for Chris Roper , wish he'd developed his do-every, it was working for avr.
Int events are useful but mysterious.
used them for stepper motors and r/c servos. nice to have the freqcalc link.
I think my scope is ok at this freq but I found its spec inflated.
I like interrupts. Do-every would set it up in a command not lots of parameters but only 1ms resolution.
I think millis function works fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do it as Bill shows. Assign millis to long variable and then compare that var to previous value.
I did that as I posted and works. So use long for comparison to millis() ?
I did some millis() avr testing for Chris Roper , wish he'd developed his do-every, it was working for avr.
Int events are useful but mysterious.
used them for stepper motors and r/c servos. nice to have the freqcalc link.
I think my scope is ok at this freq but I found its spec inflated.
I like interrupts. Do-every would set it up in a command not lots of parameters but only 1ms resolution.
I think millis function works fine.
I am assuming all is good with millis()
I will publish a new release over the weekend. Not a test release but a full release .
Yipee