Applied engineering Team
/
VT4_Sekulic
VT4_Sekulic
main.cpp
- Committer:
- msekulic
- Date:
- 2016-11-24
- Revision:
- 0:e8dbcba061ae
File content as of revision 0:e8dbcba061ae:
#include "mbed.h" #include "TextLCD.h" TextLCD lcd(p19, p20, p21, p22, p23, p24,TextLCD::LCD8x2); AnalogIn Ain(p17); int percentage; int main() { while(1) { percentage=Ain*100; lcd.printf("%i",percentage); wait(1); lcd.cls(); } }