Publishing for Biomimetics.
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 |
diff -r 3b049dde55d7 -r 09a13faa045c Arguments.cpp --- 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