Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-rpc by
Revision 17:09a13faa045c, committed 2016-05-31
- Comitter:
- abuchan
- Date:
- Tue May 31 16:25:05 2016 +0000
- Parent:
- 12:3b049dde55d7
- Commit message:
- Publishing for Biomimetics.
Changed in this revision
Arguments.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Arguments.cpp Tue Mar 08 09:15:16 2016 +0000 +++ b/Arguments.cpp Tue May 31 16:25:05 2016 +0000 @@ -138,4 +138,10 @@ reply += sprintf(reply, "%.17g", f); } +// put by me to accomodate read_u16() of AnalogIn +template<> void Reply::putData<unsigned short>(unsigned short uint16) { + separator(); + reply += sprintf(reply, "%u", uint16); +} + } // namespace mbed