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.
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 | } |