by Rob Toulson and Tim Wilmshurst from textbook "Fast and Effective Embedded Systems Design: Applying the ARM mbed"
main.cpp
- Committer:
- robt
- Date:
- 2013-05-24
- Revision:
- 0:519ae7e3077e
File content as of revision 0:519ae7e3077e:
/*Program Example 8.1, 8.2, 8.3, 8.4: TextLCD example */ #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 for(char x=0x30;x<=0x39;x++){ display_to_LCD(x); // display numbers 0-9 } }