-
Notifications
You must be signed in to change notification settings - Fork 0
Actuators
Nam Tran edited this page Mar 22, 2017
·
2 revisions
Actuators are hardware components that move or control a mechanism or system. They are the equivalent to the muscles of the robot.
You can find the following documentation of each actuator in the library here:
Constructor: Motor(pinA, pinB, pwmPin)
- pinA - Pin A on motor controller
- pinB - Pin B on motor controller
- pwm - PWM pin on motor controller
set(speed)
- Sets the speed of the motor to speed value
Constructor: Motor(pinA, pinB)
- pinA - Pin A on motor controller
- pinB - Pin B on motor controller
on()
- Enables solenoid
off()
- Disables solenoid
Wiki maintained by Nam Tran (@omn0mn0m).