I needed a hardware PWM for a DigiSpark-board to drive a fan at 25kHz and didn't found a library supporting the ATTinyCore. If you have one of the boards and need a flexible hardware-based PWM, this ...