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: api/RawSerial.h
- Revision:
- 64:7b352733b00a
- Parent:
- 36:ab3ee77451e7
--- a/api/RawSerial.h Thu Dec 19 09:00:06 2013 +0000 +++ b/api/RawSerial.h Thu Dec 19 13:15:07 2013 +0000 @@ -71,6 +71,16 @@ * @returns The char read from the serial port */ int getc(); + + /** Write a string to the serial port + * + * @param str The string to write + * + * @returns 0 if the write succeeds, EOF for error + */ + int puts(const char *str); + + int printf(const char *format, ...); }; } // namespace mbed