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: MAX113XX_Pixi max32630fthr
Fork of MAX11301_Demo by
Revision 6:fe500943de11, committed 2017-08-29
- Comitter:
- coreyharris
- Date:
- Tue Aug 29 20:21:18 2017 +0000
- Parent:
- 5:2edbaf7fcf7b
- Commit message:
- Updated comments
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Aug 28 20:46:58 2017 +0000
+++ b/main.cpp Tue Aug 29 20:21:18 2017 +0000
@@ -56,7 +56,7 @@
while(1) {
pixi.singleEndedADCRead(MAX113XX_Pixi::PORT9, adcData); // Read value from PORT9
- adcVoltage = -5 + 2.442e-3 * adcData; // Convert ADC val to a voltage
+ adcVoltage = -5 + 2.442e-3 * adcData; // Convert ADC val. to a voltage
pc.printf("ADC Read is : %i,\tVoltage is %1.3f V \r\n", adcData, adcVoltage);
wait(0.05);
