示例#1
0
 void setServoMotor(byte port, int offset)
 {
     byte[] args = { port, (byte)(90 + offset) };
     com.sendCommand(comgen.actCommand(CommandID.SV, args));
 }
示例#2
0
 public bool sendCommand(CommandID cid, PinID pin, byte[] args)
 {
     return(sendCommand(comGen.actCommand(cid, pin, args)));
 }