Ashwin Athani
/
LCD_Hello_NGX
Simple hello world LCD program for NGX base board
main.cpp@0:4b2e51e5fb3d, 2010-12-06 (annotated)
- Committer:
- ashwin_athani
- Date:
- Mon Dec 06 12:32:07 2010 +0000
- Revision:
- 0:4b2e51e5fb3d
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ashwin_athani | 0:4b2e51e5fb3d | 1 | #include "mbed.h" |
ashwin_athani | 0:4b2e51e5fb3d | 2 | #include "TextLCD.h" |
ashwin_athani | 0:4b2e51e5fb3d | 3 | |
ashwin_athani | 0:4b2e51e5fb3d | 4 | TextLCD lcd(p24, p25, p26, p27, p28, p29, p30); // rs, rw, e, d4, d5, d6, d7 |
ashwin_athani | 0:4b2e51e5fb3d | 5 | |
ashwin_athani | 0:4b2e51e5fb3d | 6 | int main() { |
ashwin_athani | 0:4b2e51e5fb3d | 7 | lcd.cls(); |
ashwin_athani | 0:4b2e51e5fb3d | 8 | lcd.printf("NGX Technologies"); |
ashwin_athani | 0:4b2e51e5fb3d | 9 | } |