GitHub / khoih-prog / Dx_Slow_PWM
This library enables you to use ISR-based PWM channels on Arduino AVRDx-based boards (AVR128Dx, AVR64Dx, AVR32Dx, etc.), using DxCore, to create and output PWM any GPIO pin. It now supports up to 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%2FDx_Slow_PWM
Stars: 0
Forks: 0
Open issues: 0
License: mit
Language: C
Size: 784 KB
Dependencies parsed at: Pending
Created at: almost 3 years ago
Updated at: over 2 years ago
Pushed at: over 2 years ago
Last synced at: over 2 years ago
Topics: avr-da, avr-db, avr128dx, avr32dx, avr64dx, duty-cycle, dxcore, hardware-timer, isr, isr-based, isr-based-pmw, megaavr, megatinycore, multi-channel-pwm, on-the-fly, pwm, pwm-driver, pwm-duty-cycle, pwm-frequency, timer-interrupt