Task 3.4.1
Fork of Task341 by
Revision 2:bea5a01bd4d8, committed 2019-09-18
- Comitter:
- noutram
- Date:
- Wed Sep 18 12:01:28 2019 +0000
- Parent:
- 1:bcafc833577d
- Commit message:
- 2019
Changed in this revision
--- 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();
--- a/mbed-os.lib Thu Jul 13 14:50:03 2017 +0000 +++ b/mbed-os.lib Wed Sep 18 12:01:28 2019 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#8828635da469162cf2854b5287561c663fb96e72 +https://github.com/ARMmbed/mbed-os/#1bf6b20df9d3cd5f29f001ffc6f0d0fcbbb96118
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed_app.json Wed Sep 18 12:01:28 2019 +0000
@@ -0,0 +1,3 @@
+{
+ "requires": ["bare-metal"]
+}
\ No newline at end of file
