org.robokind.impl.motion.openservo
Class OpenServoCommandSet
java.lang.Object
org.robokind.impl.motion.openservo.OpenServoCommandSet
public class OpenServoCommandSet
- extends Object
- Author:
- matt
Method Summary |
static byte[] |
move(byte rs485Addr,
byte i2cAddr,
int pos)
|
static byte[] |
readRegisters(int rs485Addr,
int i2cAddr,
OpenServoCommandSet.Register firstRegister,
int readLen)
|
static byte[] |
sendCommands(byte rs485Addr,
byte i2cAddr,
OpenServoCommandSet.Command... commands)
|
static byte[] |
writeRegisters(byte rs485Addr,
byte i2cAddr,
OpenServoCommandSet.Register firstRegister,
byte... data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenServoCommandSet
public OpenServoCommandSet()
sendCommands
public static byte[] sendCommands(byte rs485Addr,
byte i2cAddr,
OpenServoCommandSet.Command... commands)
writeRegisters
public static byte[] writeRegisters(byte rs485Addr,
byte i2cAddr,
OpenServoCommandSet.Register firstRegister,
byte... data)
readRegisters
public static byte[] readRegisters(int rs485Addr,
int i2cAddr,
OpenServoCommandSet.Register firstRegister,
int readLen)
move
public static byte[] move(byte rs485Addr,
byte i2cAddr,
int pos)
Copyright © 2011-2013. All Rights Reserved.