EasyManua.ls Logo

pitsco Tetrix Max - TETRIX MAX DC Motor Expansion Controller Library

pitsco Tetrix Max
22 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TETRIX MAX DC Motor Expansion Controller Library
Following is a quick reference for each expansion controller function supported by the TETRIX PRIZM Arduino Library.
Note: Unless changed, the default ID# for the DC motor expansion controller is 1.
readDCFirmware(ID#);
setExpID(ID#);
readExpID();
WDT_STOP(ID#);
ControllerEnable(ID#);
ControllerReset(ID#);
setMotorPower(ID#, motor#, power);
setMotorPowers(ID#, power1, power2);
setMotorSpeed(ID#, motor#, speed);
setMotorSpeeds(ID#, speed1, speed2);
setMotorTarget(ID#, motor#, speed, target);
setMotorTargets(ID#, speed1, target1, speed2, target2);
setMotorDegree(ID#, motor#, speed, degrees);
setMotorDegrees(ID#, speed1, degrees1, speed2, degrees2);
setMotorInvert(ID#, motor#, invert);
readMotorCurrent(ID#, motor#);
readMotorBusy(ID#, motor#);
readEncoderCount(ID#, enc#);
readEncoderDegrees(ID#, enc#);
resetEncoder(ID#, enc#);
resetEncoders(ID#);
readBatteryVoltage(ID#);
setMotorSpeedPID(ID#, P, I, D);
setMotorTargetPID(ID#, P, I, D);

Related product manuals