yadaken yadaken
/
TextLCD_HelloWorld
a
Fork of TextLCD_HelloWorld by
main.cpp@1:7418a52375a0, 2010-11-23 (annotated)
- Committer:
- simon
- Date:
- Tue Nov 23 14:41:06 2010 +0000
- Revision:
- 1:7418a52375a0
- Parent:
- 0:334327d1a416
- Child:
- 2:ad0b044d0a10
Updated to use new library and alternate pins to align with a new photo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon | 1:7418a52375a0 | 1 | // Hello World! for the TextLCD |
simon | 1:7418a52375a0 | 2 | |
simon | 0:334327d1a416 | 3 | #include "mbed.h" |
simon | 0:334327d1a416 | 4 | #include "TextLCD.h" |
simon | 0:334327d1a416 | 5 | |
simon | 1:7418a52375a0 | 6 | TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d0-d3 |
simon | 0:334327d1a416 | 7 | |
simon | 0:334327d1a416 | 8 | int main() { |
simon | 0:334327d1a416 | 9 | lcd.printf("Hello World!\n"); |
simon | 0:334327d1a416 | 10 | } |