org.robokind.impl.motion.openservo
Class OpenServoCommandSet

java.lang.Object
  extended by org.robokind.impl.motion.openservo.OpenServoCommandSet

public class OpenServoCommandSet
extends Object

Author:
matt

Nested Class Summary
static class OpenServoCommandSet.Command
           
static class OpenServoCommandSet.Register
           
 
Constructor Summary
OpenServoCommandSet()
           
 
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
 

Constructor Detail

OpenServoCommandSet

public OpenServoCommandSet()
Method Detail

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.