Mathéo Guichard / Mbed 2 deprecated I2CTextLCD

Dependencies:   mbed

Committer:
mathsmurfff
Date:
Wed Jun 05 11:09:14 2019 +0000
Revision:
1:5c7a96a6003b
Parent:
0:6beb6f498640
change I2CTextLCD for LCD Chinese model PCF8574 address 0x7E

Who changed what in which revision?

UserRevisionLine numberNew contents of line
romilly 0:6beb6f498640 1 #include "mbed.h"
romilly 0:6beb6f498640 2 #include "TextLCD.h"
romilly 0:6beb6f498640 3
mathsmurfff 1:5c7a96a6003b 4 TextLCD lcd(D14, D15, 0x7e);
romilly 0:6beb6f498640 5
mathsmurfff 1:5c7a96a6003b 6 int main()
mathsmurfff 1:5c7a96a6003b 7 {
mathsmurfff 1:5c7a96a6003b 8 while(1) {
mathsmurfff 1:5c7a96a6003b 9 lcd.printf("Hi mbed World!\n");
mathsmurfff 1:5c7a96a6003b 10 wait_ms(50);
mathsmurfff 1:5c7a96a6003b 11 }
romilly 0:6beb6f498640 12 }
mathsmurfff 1:5c7a96a6003b 13