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 MX28 by
Diff: MX28.h
- Revision:
- 3:7929abcdc22f
- Parent:
- 2:85216442d3ef
- Child:
- 4:30da84384307
--- a/MX28.h Wed Apr 03 16:44:50 2013 +0000
+++ b/MX28.h Fri Oct 24 08:57:38 2014 +0000
@@ -21,12 +21,16 @@
#define MX28_H
#include "mbed.h"
-#include "SerialHalfDuplex.h"
+//#include "SerialHalfDuplex.h"
+#include "iSerial.h"
#include "Protocol.h"
#include "Utilities.h"
#define MX28_DEBUG
+#define PIN_RS485_DIRC PC_8
+
+
/** MX28 servo control class
*
* Example:
@@ -254,7 +258,8 @@
/** Servo serial half duplex connection.
*/
- SerialHalfDuplex *servoSerialHalfDuplex;
+ //SerialHalfDuplex *servoSerialHalfDuplex;
+ iSerial *servoSerialHalfDuplex;
public:
/** Send the MX28 packet over the serial half duplex connection.
