How do I create time delays longer than 65 seconds?
The best way of creating long delays is to do minute delays with a loop, e.g. to wait an hour (60 minutes) for b2 = 1 to 60 ‘start a for..next loop pause 60000 ‘wait 1 second next b2 ‘next loop The PICAXE microcontroller works at a nominal 4MHz, but due to device manufacturing tolerances there is likely to be a drift of a few seconds over long time periods (e.g. a day). Note that the Serial LCD/Clock module (AXE033) has a precision clock and ‘alarm clock’ function that can be used to trigger the PICAXE at predefined interval or at certain time/dates with much greater precision.
Related Questions
- Occasionally when fishing, I travel longer distances and will be out of sight of land in the Great Lakes from time to time. Do I need to get a VHF radio in case of emergency?
- What if there are repair delays and I need to keep a rental car longer than the approved time?
- How do I create time delays longer than 65 seconds?