TC802B-03 LCD Hello World

Dependencies:   TextLCD mbed

Fork of TextLCD_HelloWorld by Simon Ford

TC802B-03 LCD Testing Code. For RDC Lab 6 Thermostat.

Committer:
YuliangHao
Date:
Tue Nov 01 14:42:51 2016 +0000
Revision:
3:3eb466eaafd5
Parent:
2:ad0b044d0a10
TC802B-03 LCD Testing Code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon 1:7418a52375a0 1 // Hello World! for the TextLCD
simon 1:7418a52375a0 2
simon 0:334327d1a416 3 #include "mbed.h"
simon 0:334327d1a416 4 #include "TextLCD.h"
simon 0:334327d1a416 5
YuliangHao 3:3eb466eaafd5 6 TextLCD lcd(p19, p20, p21, p22, p23, p24); // rs, e, d4-d7
simon 0:334327d1a416 7
simon 0:334327d1a416 8 int main() {
YuliangHao 3:3eb466eaafd5 9 lcd.printf("Hello!\n");
simon 0:334327d1a416 10 }