Lab version
Fork of Task328 by
Revision 2:52faa20a51b4, committed 2017-10-10
- Comitter:
- noutram
- Date:
- Tue Oct 10 17:05:48 2017 +0000
- Parent:
- 1:ccec17874183
- Child:
- 3:25b67e69f6fc
- Commit message:
- updated for F429
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Jul 13 14:49:20 2017 +0000 +++ b/main.cpp Tue Oct 10 17:05:48 2017 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #define N 100000 -#define RELEASED 1 -#define PRESSED 0 +#define RELEASED 0 +#define PRESSED 1 DigitalOut red_led(D7); //CountUp is in its critical section DigitalOut yellow_led(D6); //CountDown is in its critical section DigitalOut green_led(D5); //counter != 0
