Skip to content

Commit 61864bd

Browse files
committed
add new example, fix #73
Signed-off-by: Will Son <willson@robotis.com>
1 parent bd2e8f3 commit 61864bd

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

src/Dynamixel2Arduino.h

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@
2525
// TODO: Match the OP Mode to the actual value
2626
// https://github.com/ROBOTIS-GIT/Dynamixel2Arduino/issues/73
2727
enum OperatingMode{
28-
OP_POSITION = 0,
29-
OP_EXTENDED_POSITION,
30-
OP_CURRENT_BASED_POSITION,
31-
OP_VELOCITY,
32-
OP_PWM,
33-
OP_CURRENT,
34-
35-
UNKNOWN_OP
28+
OP_CURRENT = 0,
29+
OP_VELOCITY = 1,
30+
OP_POSITION = 3,
31+
OP_EXTENDED_POSITION = 4,
32+
OP_CURRENT_BASED_POSITION = 5,
33+
OP_PWM = 16,
3634
};
3735

3836
enum ParamUnit{

0 commit comments

Comments
 (0)