Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TextLCD_HelloWorld by
main.cpp@2:ad0b044d0a10, 2010-12-04 (annotated)
- Committer:
- simon
- Date:
- Sat Dec 04 11:31:07 2010 +0000
- Revision:
- 2:ad0b044d0a10
- Parent:
- 1:7418a52375a0
- Child:
- 3:e7802960032b
Update to refer to 4-bit interface as d4-d7
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 | 2:ad0b044d0a10 | 6 | TextLCD lcd(p15, p16, p17, p18, p19, p20); // 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 | } |