add LPC4337
Fork of FastIO by
Diff: FastIO.h
- Revision:
- 2:1a6ed4b84590
- Parent:
- 1:85a4a54f15e3
- Child:
- 3:3dd9466e73fc
--- a/FastIO.h Wed Jul 02 06:01:51 2014 +0000 +++ b/FastIO.h Fri Jul 04 17:28:45 2014 +0000 @@ -7,7 +7,9 @@ #include "FastIO_KLXX.h" #ifndef INIT_PIN -#error Target is not supported +#warning Target is not supported by FastIO +#warning Reverting to regular DigitalInOut +#include "FastIO_Unsupported.h" #endif #include "mbed.h" @@ -36,6 +38,10 @@ FastInOut() { INIT_PIN; } + + ~FastInOut() { + DESTROY_PIN; + } void write(int value) { if ( value )