Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:709e8e98f880, committed 2015-11-13
- 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)