F446RE ADC internal channels test: VREF, VBAT, temp sensor
F446RE ADC internal channels test: VREF, VBAT, temp sensor
Diff: main.cpp
- Revision:
- 1:709e8e98f880
- Parent:
- 0:0e42d22824a3
--- 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)