- 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
- Fix reattachInterrupt() bug. Check bugfix: reattachInterrupt() pass wrong frequency value to setFrequency() #19
- 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 STM32F/L/H/G/WB/MP1 boards such as NUCLEO_H743ZI2, NUCLEO_L552ZE_Q, NUCLEO_F767ZI, BLUEPILL_F103CB, etc., using
Arduino Core for STM32
- The hybrid ISR-based PWM channels can generate from very low (much less than 1Hz) to highest PWM frequencies up to 1000Hz with acceptable accuracy.
Copyright 2021- Khoi Hoang