Servo Hardware PWM

Allows Arduino/Genuino Mega boards to control up to 6 servos with the integrated 16-bit hardware PWM timer/counter.

Author
Daniel Duller
Website
https://github.com/dadul96/Arduino-Servo-Hardware-PWM-Library
Category
Device Control
License
MIT
Library Type
Contributed
Architectures
avr

<br />This library uses the 16-bit hardware timer/counter (timer3, timer4 and timer5) to control the servos.<br />Possible output pins are pin 2, 3, 7, 8, 44, and 45.<br />Unlike the original Servo.h library, this library does not use Timer1.<br />The advantage here is that when using the Wire.h library no fluctuations in the pulse width occur.<br />In addition, I / O registers are addressed directly and not via the digitalWrite()-function (as in Servo.h).<br />

Downloads

Filename Release Date File Size
Servo_Hardware_PWM-1.0.1.zip 2019-05-14 8.26 KiB
Servo_Hardware_PWM-1.0.0.zip 2019-01-14 8.02 KiB