Hello,
Eclectic showed the right approach using a lower clock speed, as all functionality is still available, just the pace of instruction execution becomes slower. I wish to add two things:
- Even lower power consumptiom is possible at 31 kHz.
- You can also use an interrupt to "wake up"; the first instruction of the interrupt routine would be a poke to set the clock speed at 4MHz (or 8 MHz); in the interrupt routine gosubs to functional modules are placed, and at the end of the interrupt routine the clock speed should be set low again. Use diode mixing for handling interrupts on several pins
The approach should work on all picaxes with interrupt capability and scalable clock
Regards,
Jurjen
www.kranenborg.org/ee/picaxe