Andy Lustig
/
stateScript_v2
fork of StateScript
Fork of stateScript_v2 by
Diff: mbedInterface/mbedInterface.h
- Revision:
- 4:abee20c0bf2a
- Parent:
- 3:d7b0a0890d96
- Child:
- 7:5fe7329751d4
diff -r d7b0a0890d96 -r abee20c0bf2a mbedInterface/mbedInterface.h --- a/mbedInterface/mbedInterface.h Sat Oct 10 22:37:17 2015 +0000 +++ b/mbedInterface/mbedInterface.h Fri Jan 15 22:13:23 2016 +0000 @@ -15,7 +15,9 @@ //#define MBED_RF -#define NUMPORTS 9 //the number of ports available on this hardware +#define NUMPORTS 10 //the number of ports available on this hardware +#define NUMINPORTS 9 +#define NUMOUTPORTS 10 #define NUMEVENTS 50 #define NUMCONDITIONS 150 @@ -63,6 +65,7 @@ private: DigitalOut *outpin; + bool pinExists; }; @@ -82,6 +85,7 @@ private: DigitalIn *inpin; InterruptIn *inpin_interrupt; + bool pinExists; };