mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.
Diff: common/InterruptIn.cpp
- Revision:
- 113:65a335a675de
- Parent:
- 36:ab3ee77451e7
- Child:
- 212:34d62c0b2af6
--- a/common/InterruptIn.cpp Fri Mar 07 16:00:07 2014 +0000 +++ b/common/InterruptIn.cpp Mon Mar 10 11:30:07 2014 +0000 @@ -21,7 +21,7 @@ InterruptIn::InterruptIn(PinName pin) { gpio_irq_init(&gpio_irq, pin, (&InterruptIn::_irq_handler), (uint32_t)this); - gpio_init(&gpio, pin, PIN_INPUT); + gpio_init_in(&gpio, pin); } InterruptIn::~InterruptIn() {