Task 3.4.1
Fork of Task341 by
Diff: main.cpp
- Revision:
- 2:bea5a01bd4d8
- Parent:
- 0:08f1d029d089
--- a/main.cpp Thu Jul 13 14:50:03 2017 +0000 +++ b/main.cpp Wed Sep 18 12:01:28 2019 +0000 @@ -1,8 +1,19 @@ #include "mbed.h" +#ifdef TARGET_NUCLEO_F429ZI +//#define ONBOARD +#endif + +#ifdef ONBOARD +BusOut binaryOutput(LED1, LED2, LED3); +DigitalIn SW1(USER_BUTTON); +#else +//lsb first //Global objects BusOut binaryOutput(D5, D6, D7); DigitalIn SW1(D4); +#endif + //Function prototypes void waitForButtonPress();
