//#define SERVO_MIN_PULSEWIDTH 1000 //Minimum pulse width in microsecond //#define SERVO_MAX_PULSEWIDTH 2000 //Maximum pulse width in microsecond #define SERVO_MIN_PULSEWIDTH 625 //Minimum pulse width in microsecond #define SERVO_MAX_PULSEWIDTH 2350 //Maximum pulse width in microsecond
int minValue = 625; // micro seconds (uS) int maxValue = 3500; // micro seconds (uS)
int sweepDuration = 3000; // milliseconds (ms)