www.nexusrobot.com Robot Kits manual
39
Parameters:
unsigned int PWM
The PWM set for Motor
See:
Motor::
runPWM
()
bool
setDesiredDir
(bool dir)
The desired direction set for the motor
This will lie within the range specified at
Motor::getDesiredDir
()
Parameters:
Bool dir
The direction set for Motor
See:
Motor::getDesiredDir
()
bool
getDesiredDir()
const
Get the desired direction
Return:
Desired Direction
bool
reverseDesiredDir
()
Get the reverse desired direction
Return:
Desired Direction
bool
setCurrDir
()
Set a current direction on the basis of the digitalRead(pinIRQB)
Return:
Current Direction If getPinIRQB() was defined
false otherwise
bool
getCurrDir
()
const
Get the current direction
Return:
Current Direction
unsigned int
getSpeedRPM
() const
Get the speed of the motor (round per minute)
This will lie within the range specified at
SPEEDPPS2SPEEDRPM
().
See:
SPEEDPPS2SPEEDRPM
().
Summary of Contents for Nexus Robot
Page 74: ...www nexusrobot com Robot Kits manual 70 Sample Wiring Diagram for RB004 2WD V2 0...
Page 92: ...www nexusrobot com Robot Kits manual 88 Diagram for Omni3WD_V1 0...
Page 96: ...www nexusrobot com Robot Kits manual 92 Diagram_Omni3WD_V3 3...
Page 118: ...www nexusrobot com Robot Kits manual 114 Sample Wiring Diagram for RB011 Mecanum 4WD V4 1...