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.
Dependents: Line_Trace_No_collision_Light_control_longer_dis
Fork of m3pi by
Revision 9:dc632667ae24, committed 2017-02-08
- Comitter:
- tennisbaca
- Date:
- Wed Feb 08 15:47:13 2017 +0000
- Parent:
- 8:4b7d6ea9b35b
- Commit message:
- test
Changed in this revision
| m3pi.cpp | Show annotated file Show diff for this revision Revisions of this file |
| m3pi.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/m3pi.cpp Thu May 12 13:26:37 2011 +0000
+++ b/m3pi.cpp Wed Feb 08 15:47:13 2017 +0000
@@ -194,6 +194,9 @@
return(_ser.getc());
}
+void m3pi::play(void){
+ _ser.putc(DO_PLAY);
+ }
--- a/m3pi.h Thu May 12 13:26:37 2011 +0000
+++ b/m3pi.h Wed Feb 08 15:47:13 2017 +0000
@@ -50,7 +50,6 @@
#define M2_BACKWARD 0xC6
-
/** m3pi control class
*
* Example:
@@ -217,6 +216,9 @@
* @param int The character to send to the 3pi
*/
int print(char* text, int length);
+
+ void play();
+
#ifdef MBED_RPC
virtual const struct rpc_method *get_rpc_methods();
