simple ecu reader
Dependencies: FatFileSystem GPS-ecu TextLCD mbed
Fork of ecu_reader by
Revision 7:61b712aa2771, committed 2014-02-25
- Comitter:
- nherriot
- Date:
- Tue Feb 25 14:07:50 2014 +0000
- Parent:
- 6:c91e372617e3
- Child:
- 8:1ff6fb0d1fb6
- Commit message:
- simple test for ecu reader.; baud rate was changed.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Jul 23 13:32:24 2013 +0000 +++ b/main.cpp Tue Feb 25 14:07:50 2014 +0000 @@ -27,6 +27,7 @@ #include "SDFileSystem.h" GPS gps(p28, p27); +TextLCD lcd2(p30, p19, p20, p17, p16, p15, p14); TextLCD lcd(p18, p19, p20, p17, p16, p15, p14); // rs, rw, e, d0, d1, d2, d3 SDFileSystem sd(p5, p6, p7, p13, "sd"); @@ -60,7 +61,7 @@ // Display splash screen printf("Vodafone UBI Prototype \n"); lcd.locate(0,0); // Set LCD cursor position - lcd.printf("Voda UBI Prototype"); + lcd.printf("Voda UBI Proto"); lcd.locate(0,1); lcd.printf("www.vodafone.com"); // Wait and clear screen @@ -127,15 +128,15 @@ pc.printf("\nVodafone Home Menu"); lcd.cls(); lcd.locate(0,0); - lcd.printf("Home - use joystick"); + lcd.printf("Home - menu"); lcd.locate(0,1); - lcd.printf("to select option..."); + lcd.printf("select option..."); wait(2); lcd.cls(); lcd.locate(0,0); lcd.printf("Use joystick"); lcd.locate(0,1); - lcd.printf("U-CAN:D-GPS:L-SD:P-Ho"); + lcd.printf("U-CAN:D-GPS:P-Ho"); pc.printf("\nUse the joystick to select an option - hold down the joystick to get back to home"); pc.printf("\nUp = CAN buss demo:Down = GPS demo:Left = SD demo: Press = Home");