prathap j
/
PROJECTFILE
EMS_Final_5/11/13 (HVM here)
Fork of 4_LCD_With_Lib by
main.cpp
- Committer:
- HarishMekali
- Date:
- 2013-10-06
- Revision:
- 1:71e371ba55cd
- Parent:
- 0:15a70393058f
- Child:
- 2:1a5d54f3d818
File content as of revision 1:71e371ba55cd:
#include "mbed.h" #include "TextLCD.h" AnalogIn s1(p18); TextLCD lcd(p19,p20, p21, p22, p23, p24); // rs, e, d4, d5, d6, d7 int main() { while(1) { float x; lcd.cls(); x=s1.read(); lcd.printf("Sensor value = %f",x); wait(0.5); } }