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.
Dependencies: mbed ADS1115 StepperMotor SRF05 TPA81new
Diff: Dynamixel.h
- Revision:
- 1:ef90d942ce78
- Parent:
- 0:79e2a8171b16
--- a/Dynamixel.h Tue Aug 18 09:15:09 2015 +0000
+++ b/Dynamixel.h Wed Aug 19 05:36:55 2015 +0000
@@ -14,6 +14,7 @@
const unsigned char ADDRESS_PRESENT_TEMPERATURE = 0x2B;
const unsigned char ADDRESS_GOAL_POSITION = 0x1E;
const unsigned char ADDRESS_LED = 0x19;
+const unsigned char ADDRESS_MOVING_SPEED = 0x20;
class Dynamixel
{
@@ -22,6 +23,7 @@
void ping();
void toggleLED(uint8_t ledState);
void move(uint16_t position);
+ void setSpeed(uint16_t speed);
private:
Serial m_link;
DigitalOut m_txEnable;