SweiLz
/
LCD
LCD
Fork of LCD by
main.cpp
- Committer:
- pruek
- Date:
- 2015-12-05
- Revision:
- 0:eaba0b3e042f
File content as of revision 0:eaba0b3e042f:
#include "mbed.h" #include "LCDTaonoi.h" //void Command (const char* value, int Mode ) Serial pc(SERIAL_TX,SERIAL_RX); //I2C lcd(I2C_SDA, I2C_SCL); LCDTaonoi LCD(I2C_SDA, I2C_SCL); //const int addr = 0x4E; int main() { while(1){ wait(5); LCD.setCursor(0,0); LCD.SendData("PRUEK"); LCD.setCursor(10,2); LCD.SendData("LIEWS"); wait(5); LCD.setCursor(0,0); LCD.SendData("LIEWS"); LCD.setCursor(10,2); LCD.SendData("PRUEK"); } }