LCD Hello mbed World! Working with Nucleo and DFRobot 16x2 Keypad shield
Fork of LCD_Hello_mbed by
main.cpp@1:6aaf96a8a2d6, 2014-10-27 (annotated)
- Committer:
- whatnick
- Date:
- Mon Oct 27 12:27:41 2014 +0000
- Revision:
- 1:6aaf96a8a2d6
- Parent:
- 0:0a5c73c2369a
STM32 Nucleo LCD test with DFobot LCD Keypad Shield (16x2 and A0 Analog keypad)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
takeuchi | 0:0a5c73c2369a | 1 | #include "mbed.h" |
takeuchi | 0:0a5c73c2369a | 2 | #include "TextLCD.h" |
takeuchi | 0:0a5c73c2369a | 3 | |
whatnick | 1:6aaf96a8a2d6 | 4 | TextLCD lcd(D8, D9, D4, D5, D6, D7); // rs, e, d4, d5, d6, d7 |
takeuchi | 0:0a5c73c2369a | 5 | |
takeuchi | 0:0a5c73c2369a | 6 | int main() { |
takeuchi | 0:0a5c73c2369a | 7 | lcd.cls(); |
takeuchi | 0:0a5c73c2369a | 8 | lcd.printf("Hello mbed world!"); |
takeuchi | 0:0a5c73c2369a | 9 | } |