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: mbed C12832 FXOS8700Q
Diff: main.cpp
- Revision:
- 2:f40808007912
- Parent:
- 1:09253062dab8
- Child:
- 3:ccbb9d52f4b8
diff -r 09253062dab8 -r f40808007912 main.cpp
--- a/main.cpp Mon Jun 01 23:41:57 2020 +0000
+++ b/main.cpp Mon Jun 01 23:46:06 2020 +0000
@@ -10,13 +10,13 @@
while (1) {
ADCdata= Ain.read_u16();
lcd.locate(0,3);
- lcd.printf("Resolucion de bits: %f", ADCdata);
+ lcd.printf("R: %f", ADCdata);
voltaje= (ADCdata*5/1024);
lcd.locate(0,16);
lcd.printf("%f", voltaje);
- printf("Voltaje: %f /n/r", ADCdata);
+ printf("%f /n/r", ADCdata);
wait(0.5);
}