SSC2B16DLYY,QC1602A and I2C module from mjkdz china (QC1602A needs a bridge from Vdd to right side of R8 to light up with this board)
Diff: main.cpp
- Revision:
- 0:432b493b6981
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed May 20 15:05:33 2015 +0000 @@ -0,0 +1,21 @@ +#include "mbed.h" +#include "TextLCD.h" + + I2C i2c_lcd(P0_5,P0_4); // SDA, SCL I2C Communication + +// with SSC2B16DLYY and I2C module from mjkdz china +// with QC1602A (need a bridge from Vdd to right side of R8)and I2C module from mjkdz china + + +TextLCD_I2C lcd(&i2c_lcd, 0x40, TextLCD::LCD16x2); // I2C bus, PCF8574 Slaveaddress, LCD Type + +int main() { + + + lcd.cls(); + lcd.printf("1234567890123456"); + lcd.locate(0, 1); + lcd.printf("6665432109876533"); + + + } \ No newline at end of file