ShiftPWM, by Elco Jacobs,
creates many PWM outputs using only 3 signals
and inexpensive shift register chips.
- 2012-Aug-15 version
ShiftPWM uses only 3 signals to drive any number of shift register chips.
|Signal||Teensy 2.0||Teensy++ 2.0||74VHC595|
The example code can be opened from the menu:
File > Examples > ShiftPWM > ShiftPWM_RGB_Example
CPU & On-Chip Resource Usage
ShifPWM uses timer1 and the SPI port to rapidly shift new data to all the pins.
This consumes a large amount of CPU time. The ShiftPWM.PrintInterruptLoad()
function gives information about how much CPU time is used.
ShifPWM lets you configure the number of 8 bit registers, and the number of
PWM levels. As more registers are used and more levels are supported, more
data must be shifted, which slows the refresh rate. These settings should
be adjusted to for a good, flicker-free refresh rate.
These Circuit Board CAD Files were fabricated by
Laen's PCB Group Order.
Please refer to the official ShiftPWM documentation
for more details.