University of Plymouth - Stages 1, 2 and 3
/
Task344Solution
Task 3.4.4 Solution
Fork of Task344Solution by
Diff: main.cpp
- Revision:
- 2:7d9f93c3d682
- Parent:
- 0:eebd090fb610
--- a/main.cpp Thu Jul 13 14:51:23 2017 +0000 +++ b/main.cpp Wed Sep 18 12:43:44 2019 +0000 @@ -1,7 +1,15 @@ #include "mbed.h" +#ifdef TARGET_NUCLEO_F429ZI +//#define ONBOARD +#endif + +#ifdef ONBOARD +BusOut binaryOutput(LED1, LED2, LED3); +#else //Global objects BusOut binaryOutput(D5, D6, D7); +#endif //Main function