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:23e522251a91, 2015-03-02 (annotated)
- Committer:
- fejesmark
- Date:
- Mon Mar 02 06:56:23 2015 +0000
- Revision:
- 0:23e522251a91
Controller program for the BC1602A LCD display
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| fejesmark | 0:23e522251a91 | 1 | #include "mbed.h" |
| fejesmark | 0:23e522251a91 | 2 | #include "TextLCD.h" |
| fejesmark | 0:23e522251a91 | 3 | |
| fejesmark | 0:23e522251a91 | 4 | TextLCD lcd(p10, p12, p17, p18, p19, p20); |
| fejesmark | 0:23e522251a91 | 5 | |
| fejesmark | 0:23e522251a91 | 6 | int main() { |
| fejesmark | 0:23e522251a91 | 7 | |
| fejesmark | 0:23e522251a91 | 8 | |
| fejesmark | 0:23e522251a91 | 9 | lcd.cls(); |
| fejesmark | 0:23e522251a91 | 10 | lcd.printf("helloo"); |
| fejesmark | 0:23e522251a91 | 11 | wait(5); |
| fejesmark | 0:23e522251a91 | 12 | lcd.cls(); |
| fejesmark | 0:23e522251a91 | 13 | lcd.printf("Fuck you!"); |
| fejesmark | 0:23e522251a91 | 14 | } |
| fejesmark | 0:23e522251a91 | 15 |