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:
- 12:ef988c7fe8a4
- Parent:
- 11:419e5d18d42b
- Child:
- 17:4d0e180cde20
--- a/src/LCDControl.cpp Mon Oct 19 20:23:37 2015 +0000 +++ b/src/LCDControl.cpp Mon Oct 19 21:09:22 2015 +0000 @@ -1,8 +1,8 @@ #include "LCDControl.h" -LCDControl::LCDControl(){ +LCDControl::LCDControl() : uLCD(p9,p10,p8){ - uLCD = new uLCD_4DGL(p9,p10,p8); // serial tx, serial rx, reset pin; + //uLCD = new uLCD_4DGL(p9,p10,p8); // serial tx, serial rx, reset pin; @@ -15,8 +15,8 @@ void LCDControl::printStrength(int strength) { - uLCD->cls(); - uLCD->printf("LCD strength: %d", strength); + uLCD.cls(); + uLCD.printf("LCD strength: %d", strength); }