test file

Dependencies:   TextLCD mbed

Fork of TextLCD_HelloWorld by Srinivasan Ramasamy

Committer:
bernardrayappa
Date:
Wed Nov 20 10:49:27 2013 +0000
Revision:
4:76169678e056
Parent:
3:bae19bde97d5
test_cdd_adc

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
bernardrayappa 4:76169678e056 6 TextLCD lcd(p25, p26, p24, p23, p22, p21); // rs, e, d4-d7
simon 0:334327d1a416 7
ramsphd 3:bae19bde97d5 8 int main()
ramsphd 3:bae19bde97d5 9 {
ramsphd 3:bae19bde97d5 10 while (1){
ramsphd 3:bae19bde97d5 11 lcd.printf(" This is 16x2!\n");
ramsphd 3:bae19bde97d5 12 lcd.printf("Jello World!\n");
ramsphd 3:bae19bde97d5 13 wait(1);
ramsphd 3:bae19bde97d5 14 lcd.printf("Jello World! \n");
simon 0:334327d1a416 15 lcd.printf("Hello World!\n");
ramsphd 3:bae19bde97d5 16 wait(1);
simon 0:334327d1a416 17 }
ramsphd 3:bae19bde97d5 18 }