![](/media/cache/profiles/fbfdab7e3983009e7d488d946a8de066.jpg.50x50_q85.jpg)
LCD from base
Diff: main.cpp
- Revision:
- 0:0b293534b6b1
diff -r 000000000000 -r 0b293534b6b1 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Feb 18 07:09:47 2013 +0000 @@ -0,0 +1,19 @@ +#include "mbed.h" +#include "LCD.h" +int main() { +LCD_init(); +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’ +display_to_LCD(0x20); // ‘ ’ +display_to_LCD(0x46); // ‘F’ +display_to_LCD(0x41); // ‘A’ +display_to_LCD(0x43); // ‘C’ +display_to_LCD(0x55); // ‘U’ +display_to_LCD(0x4C); // ‘L’ +display_to_LCD(0x54); // ‘T’ +display_to_LCD(0x59); // ‘Y’ +display_to_LCD(0x21); // ‘!’ +} \ No newline at end of file