Kevin Rhyne / Whiffy

Dependencies:   4DGL-uLCD-SE mbed

src/LCDControl.cpp

Committer:
kevinrhyne
Date:
2015-10-20
Revision:
17:4d0e180cde20
Parent:
12:ef988c7fe8a4
Child:
19:b2adc97f4700

File content as of revision 17:4d0e180cde20:

#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(int strength) {

    wait(2);
    uLCD.printf("LCD strength: %d\n", strength);

}