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
src/LCDControl.cpp
- Committer:
- kevinrhyne
- Date:
- 2015-10-21
- Revision:
- 20:d880506cfdff
- Parent:
- 19:b2adc97f4700
File content as of revision 20:d880506cfdff:
#include "LCDControl.h" LCDControl::LCDControl() : uLCD(p9,p10,p8){ uLCD.printf("LCD initialized\n"); } void LCDControl::update(int strength, bool mode) { //do update stuff on LCD printStrength(strength); } void LCDControl::printStrength(float strength) { wait(2); //uLCD.cls(); uLCD.printf("Strength: %.2f\n", strength); } void LCDControl::printString(string printer) { wait(1); uLCD.printf(printer.c_str()); wait(1); }