tom dunigan / Mbed 2 deprecated leo_adc_internal

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
manitou
Date:
Fri Nov 13 11:56:15 2015 +0000
Parent:
0:0e42d22824a3
Commit message:
VBAT divider is 4, ref 13.11

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Nov 12 23:21:14 2015 +0000
+++ b/main.cpp	Fri Nov 13 11:56:15 2015 +0000
@@ -8,7 +8,7 @@
 #define CORE_TEMP_V25          (4096*.76/3.3)  // (0.76v/3.3v)*(2^ADC resoultion)
 #define CORE_TEMP_AVG_SLOPE    (4096*.0025/3.3)    // (2.5mv/3.3v)*(2^ADC resoultion)
 
-// ? from pyboard version
+//  VBAT to ADC goes through divider  /4  ref 13.11
 #define VBAT_DIV (4)