Masayoshi Takahashi
/
TextLCD_HelloWorld
main.cpp@0:912ae7e7660d, 2012-02-27 (annotated)
- Committer:
- takahashim
- Date:
- Mon Feb 27 06:34:00 2012 +0000
- Revision:
- 0:912ae7e7660d
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
takahashim | 0:912ae7e7660d | 1 | #include "mbed.h" |
takahashim | 0:912ae7e7660d | 2 | #include "TextLCD.h" |
takahashim | 0:912ae7e7660d | 3 | |
takahashim | 0:912ae7e7660d | 4 | TextLCD lcd(p24, p26, p27, p28, p29, p30); // rs, e, d0-d3 |
takahashim | 0:912ae7e7660d | 5 | |
takahashim | 0:912ae7e7660d | 6 | int main() { |
takahashim | 0:912ae7e7660d | 7 | lcd.printf("Hello World!\n"); |
takahashim | 0:912ae7e7660d | 8 | } |