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.
Diff: UM12.h
- Revision:
- 2:f2cf3a42e690
- Parent:
- 0:18297993986b
- Child:
- 4:c947442469dd
diff -r 84430ccc5662 -r f2cf3a42e690 UM12.h --- a/UM12.h Tue Jul 19 19:29:21 2011 +0000 +++ b/UM12.h Fri Jul 22 10:57:14 2011 +0000 @@ -16,10 +16,12 @@ void reset(); // Reset UM12 void send(char msg); // Send a single char + void send(bool msg); // Send a boolean message void send(int msg); // Send a four byte integer void send(float msg); // Send a four byte floating point number char receive(char &msg); // Receive a single char + bool receive(bool &msg); // Receive a boolean int receive(int &msg); // Receive a four byte integer float receive(float &msg); // Receive a four byte floating point number