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: cpp/Timer.cpp
- Revision:
- 8:4e25b8576136
- Parent:
- 2:143cac498751
--- a/cpp/Timer.cpp Wed Apr 24 15:11:33 2013 +0000 +++ b/cpp/Timer.cpp Thu May 30 16:59:31 2013 +0100 @@ -37,7 +37,7 @@ } float Timer::read() { - return (float)read_us() / 1000000.0; + return (float)read_us() / 1000000.0f; } int Timer::read_ms() {