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.
Revision 6:53fc4ab90e95, committed 2021-10-10
- Comitter:
- rtk
- Date:
- Sun Oct 10 14:43:39 2021 +0000
- Parent:
- 5:95a2bbe80208
- Commit message:
- 2021;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Oct 10 14:30:02 2021 +0000
+++ b/main.cpp Sun Oct 10 14:43:39 2021 +0000
@@ -2,14 +2,16 @@
#include "C12832.h"
DigitalIn up(A2);
-
-
+C12832 lcd(D11, D13, D12, D7, D10);
int main()
{
while (1) {
-
+ lcd.locate(0,8);
+ if (up) lcd.printf("Up");
+ else lcd.printf("Aucune touche");
+
}
}