Skip to content

Conversation

BrettFolkins
Copy link

The old "REFRESH_INTERVAL" has been changed to be settable
for better compatability with digital servos and ESC's

The defualt value of 20000 microseconds (50Hz) is maintained,
and a minimum of 3000 microseconds (333Hz) is imposed.

3000 microsecends was chosen because it allows for
MINIMUM_PULSE_WIDTH of time low after
MAXIMUM_PULSE_WIDTH of time high, rounded up by 56 us

The old "REFRESH_INTERVAL" has been changed to be settable
 for  better compatability with digital servos and ESC's

The defualt value of 20000 microseconds (50Hz) is maintained,
 and a minimum of 3000 microseconds (333Hz) is imposed.

3000 microsecends was chosen because it allows for
 MINIMUM_PULSE_WIDTH of time low after
 MAXIMUM_PULSE_WIDTH of time high, rounded up by 56 us
@BrettFolkins BrettFolkins changed the title Made Servo library output frequency no longer constant Made Servo library output frequency no longer hardcoded Nov 21, 2014
@ArduinoBot
Copy link
Contributor

Can one of the admins verify this patch?

@ffissore
Copy link
Contributor

ffissore commented Jan 8, 2015

@ArduinoBot build this please

@cmaglie cmaglie added feature request A request to make an enhancement (not a bug fix) Library: Servo The Servo Arduino library Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) labels Apr 15, 2015
@Lauszus
Copy link
Contributor

Lauszus commented Jun 10, 2015

I just tested this on AVR and it works great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) feature request A request to make an enhancement (not a bug fix) Library: Servo The Servo Arduino library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants