DigiSpark_PWM

Device Control

Hardware-based Pulse-Width-Modulation (PWM) for AVR ATtiny85-based boards using ATTinyCore up to 500 kHz.
This hardware-based Pulse-Width-Modulation (PWM) library enables you to use the Hardware-PWM on Arduino AVR ATtiny85-based boards (Digispark) using ATTinyCore. The Timer/Counter1 is used in asynchronous mode to give a PWM-output on Pin PB1 or PB4 up to 500 kHz. The maximum resolution is 8-bit.

Author: soylentOrange

Maintainer: soylentOrange

Read the documentation

Compatibility

This library is compatible with the avr architecture so you should be able to use it on the following Arduino boards:

Compatibility Note

Note: while the library is supposed to compile correctly on these architectures, it might require specific hardware features that may be available only on some boards.

Releases

To use this library, open the Library Manager in the Arduino IDE and install it from there.