The library works with Arduino Nano and Teensy (AVR/ARM) but not with EVERY boards (MEGAAVR).
When compiling, following error is given...
In file included from Arduino\libraries\SoftPWM\SoftPWM.cpp:44:0:
Arduino\libraries\SoftPWM\SoftPWM.cpp: In function 'void SoftPWMBegin(uint8_t)':
Arduino\libraries\SoftPWM\SoftPWM_timer.h:39:3: error: 'TIFR2' was not declared in this scope
TIFR2 = (1 << TOV2); /* clear interrupt flag */ \