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.
Fork of FRDM_KL25_ADC_LCD by
Revision 7:7a0fd3444f72, committed 2019-09-22
- Comitter:
- Javierdf
- Date:
- Sun Sep 22 03:19:26 2019 +0000
- Parent:
- 6:2cbcc7411fd7
- Commit message:
- kl46 prueba
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Apr 27 18:56:50 2017 +0000 +++ b/main.cpp Sun Sep 22 03:19:26 2019 +0000 @@ -26,10 +26,10 @@ while(true){//Inicio loop de trabajo lcd.cls(); //Limpieza de la pantalla LCD - conv=3.3*an_pin.read(); //Lectura del Pin Analogico y conversión al rango de 3.3Volts + conv=an_pin.read(); //Lectura del Pin Analogico y conversión al rango de 3.3Volts - lcd.printf("Voltaje: %1.2f \nVolts",conv); //Impresión de información por medio del LCD - pc.printf("Voltaje: %f Volts\n",conv); //Envio de información por el puesto serial + lcd.printf("Voltaje: %1.2f \n",conv); //Impresión de información por medio del LCD + pc.printf("Voltaje: %1.2f aceleracion run run\n",conv); //Envio de información por el puesto serial wait(0.2); //Retardo de 0.2 segundos }