yuki hashimoto
/
TextLCD_HelloWorld
LCD表示
Fork of TextLCD_HelloWorld by
LCDに文字を表示
main.cpp@3:45ab9449486e, 2014-07-23 (annotated)
- Committer:
- hasimo
- Date:
- Wed Jul 23 10:28:18 2014 +0000
- Revision:
- 3:45ab9449486e
- Parent:
- 2:ad0b044d0a10
LCD??
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 | |
hasimo | 3:45ab9449486e | 6 | TextLCD lcd(p24, p26, p27, p28, p29, p30); // rs, e, d4-d7 |
simon | 0:334327d1a416 | 7 | |
simon | 0:334327d1a416 | 8 | int main() { |
simon | 0:334327d1a416 | 9 | lcd.printf("Hello World!\n"); |
simon | 0:334327d1a416 | 10 | } |