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.
Dependencies: MBED1zadD2 mbed BSP_DISCO_F429ZI
Diff: main.cpp
- Revision:
- 2:f4852c55c418
- Parent:
- 0:a4ef65ad159f
diff -r 05446788fe9c -r f4852c55c418 main.cpp
--- a/main.cpp Mon May 25 13:41:17 2020 +0000
+++ b/main.cpp Mon Jun 15 12:27:46 2020 +0000
@@ -1,11 +1,12 @@
#include "mbed.h"
-#include "KeyboardTsLcd.h"
+#include "KeyboardLed.h"
+#include "LCD_DISCO_F429ZI.h"
-
+LCD_DISCO_F429ZI LCD_Display;
int main() {
- KeyboardTsLcd LeftKeyboard(0);
- LedLcd RightLed(2);
+ KeyboardLed LeftKeyboard(0);
+ Ledboard RightLed(2);
while(1) {
switch(LeftKeyboard.eRead()) {
@@ -22,7 +23,7 @@
RightLed.On(0);
break;
default :
- RightLed.On(4);
+ RightLed.Off();
break;
}
wait(0.1);