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.
Dependencies: max32630fthr mbed
Revision 1:047c43d8b360, committed 2017-02-21
- Comitter:
- j3
- Date:
- Tue Feb 21 19:42:15 2017 +0000
- Parent:
- 0:ecc75690fcf5
- Commit message:
- added additional comments
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Feb 21 19:39:04 2017 +0000
+++ b/main.cpp Tue Feb 21 19:42:15 2017 +0000
@@ -42,9 +42,11 @@
while(1)
{
- //ADC is configured for no input scaling and no input buffer bypass,
- //so range is 0 to 1.2V. See 'analogin_api.c' for target and
- //user's guide page 567,
+ //ADC is configured for no input scaling, no input buffer bypass,
+ //and internal ref of 1.2V
+ //Default range is 0 to 1.2V.
+ //See target 'analogin_api.c' for mbed-2.0 and mbed-os.
+ //Target User's guide page 567 covers ADC
//https://www.maximintegrated.com/en/app-notes/index.mvp/id/6349
a0_val = (a0.read() * 1.2F);