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.
Dependencies: 4DGL-uLCD-SE mbed
Diff: src/LCDControl.cpp
- Revision:
- 17:4d0e180cde20
- Parent:
- 12:ef988c7fe8a4
- Child:
- 19:b2adc97f4700
--- a/src/LCDControl.cpp Tue Oct 20 09:32:35 2015 +0000 +++ b/src/LCDControl.cpp Tue Oct 20 12:38:02 2015 +0000 @@ -2,7 +2,7 @@ LCDControl::LCDControl() : uLCD(p9,p10,p8){ - //uLCD = new uLCD_4DGL(p9,p10,p8); // serial tx, serial rx, reset pin; + uLCD.printf("LCD initialized\n"); @@ -15,8 +15,7 @@ void LCDControl::printStrength(int strength) { - uLCD.cls(); - uLCD.printf("LCD strength: %d", strength); + wait(2); + uLCD.printf("LCD strength: %d\n", strength); } -