Timo I. Denk
October 2017
Slides available at timodenk.com/talks/sr-pwm-library
// create object
ShiftRegisterPWM shiftRegisterPWM(numShiftregister, resolution);
// register interrupt
shiftRegisterPWM.interrupt(ShiftRegisterPWM::UpdateFrequency::SuperFast);
// set pin 4
shiftRegisterPWM.set(4, 230);