Skip to content

Hardware-based Pulse-Width-Modulation (PWM) for AVR ATtiny85-based boards using ATTinyCore up to 500 kHz.

License

Notifications You must be signed in to change notification settings

soylentOrange/DigiSpark_PWM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DigiSpark_PWM

arduino-library-badge GitHub release GitHub GitHub issues


Abstract

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 Pin PB4 up to 500 kHz. The maximum resolution is 8-bit, the effective resolution typically between 7-bit and 8-bit.


Table of Contents


Installation

Library Manager

Open up the Arduino Library Manager in the Arduino IDE and search for DigiSpark_PWM. Select / install the the latest version. Click this badge arduino-library-badge for more detailed instructions.

Download

Press the green clone or download button in the upper-right and download as .ZIP. Then go to the Arduino IDE and go to Sketch>Use Library->Add .ZIP Library_ and select the just downloaded zip file.

About

Hardware-based Pulse-Width-Modulation (PWM) for AVR ATtiny85-based boards using ATTinyCore up to 500 kHz.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages