Class Servo360T1 - GSTCH/SketchMadeEASY GitHub Wiki
Topic | Specification |
---|---|
Description | This class controls a rotation drive. It controls a continuously rotating servo using Timer INT1. 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 |
Servo360T1(int Pin) Parameter Pin: Digital (Out) Pin with PWM |
Range | 0…255 |
Samples | Servo360T1* servo = new Servo360T1(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. MotorServo360T1(int Pin, int MaxForwardMillis, int StopMillis, int MaxBackwardMillis) Parameter MaxForwardMillis: Default 2000msStopMillis: Default 1500msMaxBackwardMillis: Default 1000ms |