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/SPI.cpp
- Revision:
- 50:b08ceb75017d
- Parent:
- 13:0645d8841f51
- Child:
- 212:34d62c0b2af6
diff -r a1af374b4197 -r b08ceb75017d common/SPI.cpp --- a/common/SPI.cpp Thu Nov 21 16:45:05 2013 +0000 +++ b/common/SPI.cpp Tue Nov 26 15:30:05 2013 +0000 @@ -19,7 +19,7 @@ namespace mbed { -SPI::SPI(PinName mosi, PinName miso, PinName sclk) { +SPI::SPI(PinName mosi, PinName miso, PinName sclk, PinName _unused) { spi_init(&_spi, mosi, miso, sclk, NC); _bits = 8; _mode = 0;