is only good for delays less that 2^31 ticks (about 26ish seconds); if you need longer periods, my little time object will make things easy. I'm now using it for everything as it hides the ugly math!
Yes I realise that - the forum helped me discover that effect in an other thread http://forums.parallax.com/showthread.php/159912-Trouble-with-multiple-cog-methods-reading-same-variables?
In that instance the timing was 15 - 40 sec, so once in a while crossed the magic 26 sec border.
In this instance it is only 20mS so I am safe.
Your time() methods have found their way into my library, and they are certainly going to come handy, thanks.
Comments
In that instance the timing was 15 - 40 sec, so once in a while crossed the magic 26 sec border.
In this instance it is only 20mS so I am safe.
Your time() methods have found their way into my library, and they are certainly going to come handy, thanks.
Erlend