I am using both picaxe 08M's and 14M's. I use them in a controller where they get used constantly for a period of time but then may sit for days without use but with power to the picaxe all the time.
What I would like to do is if there are no inputs used for say 5 minutes or some other interval to goto sleep so it consumes less power but them "wake up" when any of the inputs used are pressed. normally the program just sits in a loop waiting for an input (button)
Is this something I can do with the sleep command?
also how much is the power consumption reduced when using the sleep command?
THanks,
Chris
What I would like to do is if there are no inputs used for say 5 minutes or some other interval to goto sleep so it consumes less power but them "wake up" when any of the inputs used are pressed. normally the program just sits in a loop waiting for an input (button)
Is this something I can do with the sleep command?
also how much is the power consumption reduced when using the sleep command?
THanks,
Chris