GitHub / khoih-prog / ATtiny_Slow_PWM
This library enables you to use ISR-based PWM channels on Arduino AVR ATtiny-based boards (ATtiny3217, etc.), using megaTinyCore, to create and output PWM any GPIO pin. It now supports 64 ISR-based PWM channels, while consuming only 1 Hardware Timer. PWM channel interval can be very long (ulong microsecs / millisecs). The most important feature is they're ISR-based PWM channels, supporting lower PWM frequencies with suitable accuracy. Their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These ISR-based PWMs, still work even if other software functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software-based PWM using millis() or micros(). That's necessary if you need to control devices requiring high precision. Now you can change the PWM settings on-the-fly
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoih-prog%2FATtiny_Slow_PWM
Stars: 0
Forks: 1
Open issues: 0
License: mit
Language: C
Size: 788 KB
Dependencies parsed at: Pending
Created at: over 2 years ago
Updated at: over 2 years ago
Pushed at: over 2 years ago
Last synced at: about 2 years ago
Topics: at-tiny, attiny, attiny-timerinterrupt, attiny16, attiny32, attiny8, curiosity-nano-attiny3217, curiosity-nano-board, duty-cycle, hardware-timer, isr, isr-based, isr-based-pmw, megaav, megatinycore, multi-channel-pwm, pwm, pwm-frequency, tcb-timers, timer-interrupt