altos/micropeak: Clock micropeak at 250kHz to save power
authorKeith Packard <keithp@keithp.com>
Wed, 31 Oct 2012 02:41:08 +0000 (19:41 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 31 Oct 2012 02:41:08 +0000 (19:41 -0700)
commit371da0c909098092db7b596496df9d58eed43703
tree7ce136fb4dda67bba32c5d5141673902311f6324
parente8a4a00a5bb333d4ee9601d53242a82dfe0372c2
altos/micropeak: Clock micropeak at 250kHz to save power

This reduces average current consumption from 2mA to .4mA. This
makes the battery last longer, but also gets the current under
something that the typical CR1025 battery can support. Would be nice
to reduce current even further; cheap CR1025 batteries still seem to
fade a bit at this current level.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/attiny/ao_clock.c
src/micropeak/ao_pins.h