tiz
Dependencies: TextLCD X_NUCLEO_IKS01A1 func mbed-src mbed
Fork of mas by
Diff: func/Display.cpp
- Revision:
- 6:fb1b3ce7738d
- Parent:
- 5:100310ea8fba
--- a/func/Display.cpp Tue Aug 23 15:59:59 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -#include "Display.h" - -Display::Display() -{ - this->__lcd = new TextLCD(PA_6, PA_7, PB_6, PC_7, PA_9, PA_8, TextLCD::LCD16x2); -} - -void Display::show(char *buffer0, char *buffer1) -{ - this->__lcd->cls(); - if(buffer0) - this->__lcd->locate(0,0); - this->__lcd->printf("%s", buffer0); - if(buffer1) - this->__lcd->locate(0,1); - this->__lcd->printf("%s", buffer1); -} \ No newline at end of file