- Fix
DutyCycle
bug. Check float precisison of DutyCycle only sometimes working #3 - Fix
New Period
display bug. Check random dropouts #4 - Update examples
- Use
float
forDutyCycle
andFreq
,uint32_t
forperiod
. - Optimize code by not calculation in ISR
- DutyCycle to be optionally updated at the end current PWM period instead of immediately. Check DutyCycle to be updated at the end current PWM period #2
- Fix
multiple-definitions
linker error. Dropsrc_cpp
andsrc_h
directories - Add example multiFileProject to demo for multiple-file project
- Improve accuracy by using
double
, instead ofuint32_t
fordutycycle
,period
- Optimize library code by using
reference-passing
instead ofvalue-passing
- Update examples accordingly
- Add functions to modify PWM settings on-the-fly
- Add example to demo how to modify PWM settings on-the-fly
-
Initial coding to support AVR boards, such as Mega-2560, UNO,Nano, Leonardo, etc., etc. using AVR core
-
The hybrid ISR-based PWM channels can generate from very low (much less than 1Hz) to highest PWM frequencies up to 500Hz with acceptable accuracy.
Copyright 2021- Khoi Hoang