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:
- 10:99392075e1d0
- Parent:
- 5:63d34be8ebf6
- Child:
- 11:419e5d18d42b
diff -r e4c96e7f52d0 -r 99392075e1d0 src/LCDControl.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/LCDControl.cpp Mon Oct 19 19:57:15 2015 +0000 @@ -0,0 +1,23 @@ +#include "LCDControl.h" + + + +LCDControl::LCDControl(){ + + uLCD = new uLCD_4DGL(p9,p10,p8); // serial tx, serial rx, reset pin; + + + +} + +void LCDControl::update(int strength, bool mode) { //do update stuff on LCD + + printStrength(strength); +} + +void LCDControl::printStrength(int strength) { + + uLCD->cls(); + uLCD->printf("LCD strength: %d", strength); + +} \ No newline at end of file