mirror of https://github.com/ARMmbed/mbed-os.git
Fixed InterruptIn (MBED_A7) Test
parent
df067bd4e9
commit
4bce371f2b
|
@ -21,14 +21,14 @@ void in_handler() {
|
|||
#define PIN_OUT D10
|
||||
#define PIN_IN D11
|
||||
|
||||
#elif defined(TARGET_LPC1114)
|
||||
#define PIN_OUT dp1
|
||||
#define PIN_IN dp2
|
||||
|
||||
#else
|
||||
#define PIN_IN (p5)
|
||||
#define PIN_OUT (p25)
|
||||
|
||||
#elif defined(TARGET_LPC1114)
|
||||
#define PIN_OUT (dp1)
|
||||
#define PIN_IN (dp2);
|
||||
|
||||
#endif
|
||||
|
||||
DigitalOut out(PIN_OUT);
|
||||
|
|
Loading…
Reference in New Issue