SoftPWM

A software library to produce a 50 percent duty cycle PWM signal on arbitrary pins.

Author
Brett Hagman
Website
https://github.com/bhagman/SoftPWM
Category
Signal Input/Output
License
MIT
Library Type
Contributed
Architectures
avr, arm

A Wiring Framework (and Arduino) Library, for Atmel AVR8 bit series microcontrollers and Teensy 3.x, to produce PWM signals on any arbitrary pin.<br />It was originally designed for controlling the brightness of LEDs, but could be adapted to control servos and other low frequency PWM controlled devices as well.<br />It uses a single hardware timer (Timer 2) on an Atmel AVR 8 bit microcontroller (or IntervalTimer on Teensy 3.x) to generate up to 20 PWM channels (your mileage may vary).<br /><br />Issues or questions: <a href="https://github.com/bhagman/SoftPWM/issues">https://github.com/bhagman/SoftPWM/issues</a><br />

Downloads

Filename Release Date File Size
SoftPWM-1.0.1.zip 2018-06-07 12.63 KiB
SoftPWM-1.0.0.zip 2017-01-13 12.30 KiB