main.cpp
- Committer:
- vcazan
- Date:
- 2010-01-19
- Revision:
- 0:32d8fbe583b4
File content as of revision 0:32d8fbe583b4:
#include "mbed.h"
Serial lcd(p13,p14);
int main() {
//puts the cursor at line 0 char 0.
lcd.printf("%c",0xFE);
lcd.printf("%c",128);
wait_ms(100);
lcd.printf("CyberHades.com");
wait_ms(1000);
//clear LCD
lcd.printf("%c",0xFE);
lcd.printf("%c",0x01);
//turns on the backlight
lcd.printf("%c",0x7c);
lcd.printf("%c",157);
}