Balkrishna Wagle
/
mbed_lcd_MYBOARDCODE
LCD D7-P8,D6-P9,D5-P10,D4-P11,RS-P13,E-P12
main.cpp@0:ebcf99ad1a5c, 2018-03-08 (annotated)
- Committer:
- rajivwagle
- Date:
- Thu Mar 08 12:16:33 2018 +0000
- Revision:
- 0:ebcf99ad1a5c
LCD DEMO
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rajivwagle | 0:ebcf99ad1a5c | 1 | |
rajivwagle | 0:ebcf99ad1a5c | 2 | #include "mbed.h" |
rajivwagle | 0:ebcf99ad1a5c | 3 | #include "TextLCD.h" |
rajivwagle | 0:ebcf99ad1a5c | 4 | |
rajivwagle | 0:ebcf99ad1a5c | 5 | TextLCD lcd(p13, p12, p11, p10, p9, p8, TextLCD::LCD16x2); // rs, e, d4-d7 |
rajivwagle | 0:ebcf99ad1a5c | 6 | |
rajivwagle | 0:ebcf99ad1a5c | 7 | int main() { |
rajivwagle | 0:ebcf99ad1a5c | 8 | lcd.printf("Hello BMW World!\n"); |
rajivwagle | 0:ebcf99ad1a5c | 9 | } |