Class Servo360T2 - GSTCH/SketchMadeEASY GitHub Wiki

Actuator Servo360T2

Topic Specification
Description This class controls a rotation drive. It controls a continuously rotating servo using Timer INT2. Use this class e.g. with Arduino UNO, when Log with Serial0 to the IDE.
Sketch Made EASY includes an auto map from input to actuator. The class map the range of the assigned input (via relation) to a speed.
Constructor Servo360T2(int Pin)
Parameter
Pin: Digital (Out) Pin with PWM
Range 0…255
Samples Servo360T2* servo = new Servo360T2(9);
Examples Example 12‐Servo360 controlled by a Joystick
Advanced Some servos don’t stop. They need an adjustment of the pulse duration. For this it exist a constructor.
MotorServo360T2(int Pin, int MaxForwardMillis, int StopMillis, int MaxBackwardMillis)
Parameter
MaxForwardMillis: Default 2000ms
StopMillis: Default 1500ms
MaxBackwardMillis: Default 1000ms
⚠️ **GitHub.com Fallback** ⚠️