VIGNESH KUMAR
/
TextLCD_HelloWorld
lcd for beginners
Fork of TextLCD_HelloWorld by
Revision 5:75457df5e558, committed 2014-01-05
- Comitter:
- svk2602
- Date:
- Sun Jan 05 10:41:11 2014 +0000
- Parent:
- 4:1ad7d56050dd
- Commit message:
- hello
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1ad7d56050dd -r 75457df5e558 main.cpp --- a/main.cpp Wed Nov 20 10:48:50 2013 +0000 +++ b/main.cpp Sun Jan 05 10:41:11 2014 +0000 @@ -9,12 +9,13 @@ int main() { while (1){ - lcd.printf("Voltage in fraction: %2.4f\n", voltage.read()); - pc.printf("Voltage in fraction: %2.4f\n", voltage.read()); - + lcd.printf("Voltage in fraction: %2.4f\n\r", voltage.read());//voltage is name + pc.printf("Voltage in fraction: %2.4f\n\r", voltage.read()); + //lcd.printf("Voltage in fraction\n"); + //lcd.printf("SVK\n"); wait(5); - lcd.printf("Voltage in integer: %6d\n", voltage.read_u16()); - pc.printf("Voltage in integer: %6d\n", voltage.read_u16()); + lcd.printf("Voltage in integer: %6d\n\r", voltage.read_u16()); + pc.printf("Voltage in integer: %6d\n\r", voltage.read_u16()); wait(5); } }