diff options
| author | Keith Packard <keithp@keithp.com> | 2011-10-23 14:51:32 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-10-23 14:51:32 -0700 |
| commit | f70553106707e3496d07eecb83f0c0a1acad7f77 (patch) | |
| tree | 23f9916f733d88cffbc2304ac9a517b1ea012044 /src/product | |
| parent | 7e7a10c06a0486e9f869e361e46f2c98db9897b0 (diff) | |
altos: Add battery voltage sampling driver
For devices without a full ADC compliment, this just samples the
battery pin and converts to mV.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/product')
| -rw-r--r-- | src/product/ao_teleterra_0_2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/product/ao_teleterra_0_2.c b/src/product/ao_teleterra_0_2.c index b38f2907..3272970f 100644 --- a/src/product/ao_teleterra_0_2.c +++ b/src/product/ao_teleterra_0_2.c @@ -38,5 +38,6 @@ main(void) ao_config_init(); ao_lcd_init(); ao_terraui_init(); + ao_battery_init(); ao_start_scheduler(); } |
