ITI "DallaChiesa" 2019
/
TextLCD_HelloWorld
LCD
main.cpp@3:350f984365cc, 2019-04-02 (annotated)
- Committer:
- luigi_lagatta
- Date:
- Tue Apr 02 09:13:08 2019 +0000
- Revision:
- 3:350f984365cc
- 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 | |
luigi_lagatta | 3:350f984365cc | 6 | TextLCD lcd(D10,D11,D5,D4,D3,D2); // 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 | } |