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:
- 19:b2adc97f4700
- Parent:
- 17:4d0e180cde20
- Child:
- 20:d880506cfdff
diff -r 94536dca963c -r b2adc97f4700 src/LCDControl.cpp --- a/src/LCDControl.cpp Wed Oct 21 19:08:18 2015 +0000 +++ b/src/LCDControl.cpp Wed Oct 21 19:56:21 2015 +0000 @@ -13,9 +13,15 @@ printStrength(strength); } -void LCDControl::printStrength(int strength) { +void LCDControl::printStrength(float strength) { wait(2); - uLCD.printf("LCD strength: %d\n", strength); + uLCD.printf("Strength: %d\n", strength); } + +void LCDControl::printString(string printer) { + wait(1); + uLCD.printf(printer.c_str()); + wait(1); + } \ No newline at end of file