amhsrobotics4681 / 2020-First-Rise

File Repoitory for 2020 First Robotics 4681 Team
1 stars 0 forks source link

Servo Motors #9

Closed cmarley3-14 closed 4 years ago

cmarley3-14 commented 4 years ago

Just to be clear, the following code doesn't work?

import edu.wpi.first.wpilibj.Servo;
Servo m_servo;
m_servo = new Servo(5); //PWM port
m_servo.set(0.7); // a value between [0 and 1] or [0.6 and 2.4]
// the reason for two bounds is because the first is default bounds for a PWM
// but the second is default bounds for a Servo. 

quick research reference: https://www.chiefdelphi.com/t/setting-servo-values/156388

cmarley3-14 commented 4 years ago

and, connecting it to the vrm violates R31