LCD Hello World Program

Dependencies:   mbed TextLCD

main.cpp

Committer:
Eduvance
Date:
2014-05-27
Revision:
1:99f6b4191e94
Parent:
0:9dc21787f133
Child:
2:15da1c028052

File content as of revision 1:99f6b4191e94:

#include "mbed.h" //header file 
#include "LCD.h"  

DigitalOut myled(LED1); 
int main() {  
while(1) {    
LCD_init();  //initialising LCD
   display_to_LCD(0x48); // “H‟    
  display_to_LCD(0x45); // “E‟     
 display_to_LCD(0x4C); // “L‟     
 display_to_LCD(0x4C); // “L‟      
display_to_LCD(0x4F); // “O‟  
   wait(1);

}
}