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/Ticker.cpp
- Revision:
- 304:89b9c3a9a045
- Parent:
- 36:ab3ee77451e7
- Child:
- 529:c320967f86b9
diff -r 78e31413b129 -r 89b9c3a9a045 common/Ticker.cpp --- a/common/Ticker.cpp Fri Aug 29 11:45:07 2014 +0100 +++ b/common/Ticker.cpp Fri Aug 29 17:15:07 2014 +0100 @@ -25,7 +25,7 @@ _function.attach(0); } -void Ticker::setup(unsigned int t) { +void Ticker::setup(timestamp_t t) { remove(); _delay = t; insert(_delay + us_ticker_read());