Task 3.4.2
Fork of Task342 by
Diff: main.cpp
- Revision:
- 2:a98125cb0912
- Parent:
- 0:62df7f96de34
--- a/main.cpp Thu Jul 13 14:50:24 2017 +0000 +++ b/main.cpp Wed Sep 18 12:07:11 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();