Task 4.3.2 Solution

Fork of Task342Solution by Nicholas Outram

Revision:
2:717364fdf071
Parent:
0:cdb59b84bd58
--- a/main.cpp	Thu Jul 13 14:50:37 2017 +0000
+++ b/main.cpp	Wed Sep 18 12:09:27 2019 +0000
@@ -1,8 +1,17 @@
 #include "mbed.h"
 
+#ifdef TARGET_NUCLEO_F429ZI
+//#define ONBOARD
+#endif
+
+#ifdef ONBOARD
+BusOut binaryOutput(LED1, LED2, LED3);
+DigitalIn SW1(USER_BUTTON);
+#else
 //Global objects
 BusOut binaryOutput(D5, D6, D7);
 DigitalIn SW1(D4);
+#endif
 
 //Function prototypes
 void waitForButtonPress();