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@1:5c7a96a6003b, 2019-06-05 (annotated)
- Committer:
- mathsmurfff
- Date:
- Wed Jun 05 11:09:14 2019 +0000
- Revision:
- 1:5c7a96a6003b
- Parent:
- 0:6beb6f498640
change I2CTextLCD for LCD Chinese model PCF8574 address 0x7E
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
romilly | 0:6beb6f498640 | 1 | #include "mbed.h" |
romilly | 0:6beb6f498640 | 2 | #include "TextLCD.h" |
romilly | 0:6beb6f498640 | 3 | |
mathsmurfff | 1:5c7a96a6003b | 4 | TextLCD lcd(D14, D15, 0x7e); |
romilly | 0:6beb6f498640 | 5 | |
mathsmurfff | 1:5c7a96a6003b | 6 | int main() |
mathsmurfff | 1:5c7a96a6003b | 7 | { |
mathsmurfff | 1:5c7a96a6003b | 8 | while(1) { |
mathsmurfff | 1:5c7a96a6003b | 9 | lcd.printf("Hi mbed World!\n"); |
mathsmurfff | 1:5c7a96a6003b | 10 | wait_ms(50); |
mathsmurfff | 1:5c7a96a6003b | 11 | } |
romilly | 0:6beb6f498640 | 12 | } |
mathsmurfff | 1:5c7a96a6003b | 13 |