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/I2C.cpp
- Revision:
- 567:536c9fb088a0
- Parent:
- 529:c320967f86b9
--- a/common/I2C.cpp Tue Jun 09 15:30:08 2015 +0100 +++ b/common/I2C.cpp Wed Jun 10 10:00:08 2015 +0100 @@ -92,7 +92,7 @@ #if DEVICE_I2C_ASYNCH -int I2C::transfer(int address, char *tx_buffer, int tx_length, char *rx_buffer, int rx_length, const event_callback_t& callback, int event, bool repeated) +int I2C::transfer(int address, const char *tx_buffer, int tx_length, char *rx_buffer, int rx_length, const event_callback_t& callback, int event, bool repeated) { if (i2c_active(&_i2c)) { return -1; // transaction ongoing