示例#1
0
void xlMotor::lock(void){
	Dxl.writeByte(myID, 47, 1);
}
示例#2
0
void xlMotor::unlock(void){
	Dxl.writeByte(myID, 47, 0);
}
示例#3
0
void xlMotor::ledOn(void){
	Dxl.writeByte(myID, 25, 1);
}
示例#4
0
void xlMotor::ledOff(void){
	Dxl.writeByte(myID, 25, 0);
}
示例#5
0
void xlMotor::setHighVoltage(int newVolt){
	Dxl.writeByte(myID, 14, newVolt);
}
示例#6
0
void xlMotor::setStatusReturn(int newStat){
	Dxl.writeByte(myID, 17, newStat);
}
示例#7
0
void xlMotor::setTempLimit(int newTemp){
	Dxl.writeByte(myID, 12, newTemp);
}
示例#8
0
void xlMotor::setLowVoltage(int newVolt){
	Dxl.writeByte(myID, 13, newVolt);
}
示例#9
0
void xlMotor::setBaud(int newBaud){
	Dxl.writeByte(myID, 4, newBaud);
}
示例#10
0
void xlMotor::setReturnDelay(int newDelay){
	Dxl.writeByte(myID, 5, newDelay);
}
示例#11
0
void xlMotor::setID(int newID){
	Dxl.writeByte(BROADCAST_ID, 3, newID);
}
示例#12
0
void axMotor::setHighVoltage(int newVolt){
	Dxl.writeByte(myID, 13, newVolt);
}
示例#13
0
void axMotor::setLowVoltage(int newVolt){
	Dxl.writeByte(myID, 12, newVolt);
}
示例#14
0
void axMotor::setTempLimit(int newTemp){
	Dxl.writeByte(myID, 11, newTemp);
}
示例#15
0
void axMotor::setID(int newID){
	Dxl.writeByte(myID, 3, newID);
}