Laert Lleshi
/
TextLCD_HelloWorld
Laert LLeshi
Fork of TextLCD_HelloWorld by
main.cpp@3:ebb55dc10d31, 2018-05-28 (annotated)
- Committer:
- lleshi23
- Date:
- Mon May 28 00:04:44 2018 +0000
- Revision:
- 3:ebb55dc10d31
- Parent:
- 2:ad0b044d0a10
Laert LLeshi
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 | |
lleshi23 | 3:ebb55dc10d31 | 6 | TextLCD lcd(PTC7, PTC0, PTC3, PTC4, PTC5, PTC6); // rs, e, d4-d7 |
simon | 0:334327d1a416 | 7 | |
simon | 0:334327d1a416 | 8 | int main() { |
lleshi23 | 3:ebb55dc10d31 | 9 | lcd.printf("Access Granted\n"); |
lleshi23 | 3:ebb55dc10d31 | 10 | lcd.printf("Access Denied\n"); |
simon | 0:334327d1a416 | 11 | } |