Hi,
today, I added the support of the ATtiny167 (Digispark pro) in the TinySoftPwm library.
The main difficulty was that the pins are scattered on 2 ports on the Digispark pro whereas all the pins are part of the single PORB for the original Digispark.
As previously, you just have to declare your used PWM pin(s) in TinySoftPwm.h. All the required flash and RAM memories are reserved at compilation time.
To have a small memory footprint, try to use PWM pins within the same port PORTB or PORTA.
Tested on Digispark pro on pins 0 to 12.
This library is available on my Git repository:
https://github.com/RC-Navy/DigisparkArduinoIntegration/tree/master/librariesEnjoy,