- Add support to Seeeduino nRF52840-based boards such as SEEED_XIAO_NRF52840 and SEEED_XIAO_NRF52840_SENSE, etc. using Seeeduino
mbed
core - Add astyle using
allman
style. Restyle the library
- Fix
DutyCycle
bug. Check float precisison of DutyCycle only sometimes working #3 - Fix
New Period
display bug. Check random dropouts #4 - Update examples
- Fix
multiple-definitions
linker error. Dropsrc_cpp
andsrc_h
directories - Improve accuracy by using
float
, instead ofuint32_t
fordutycycle
. Check Change Duty Cycle #1 - 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
- Optimize library code by using
reference-passing
instead ofvalue-passing
- Add example multiFileProject to demo for multiple-file project
- 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 Nano-33-BLE or Nano-33-BLE_Sense boards using
Arduino mbed_nano core 2.5.2+
for NRF52-based board using mbed_nano core such as Nano-33-BLE if you don't useNRF_TIMER_1
.Arduino mbed core v1.3.2-
for NRF52-based board using mbed-RTOS such as Nano-33-BLE if you'd like to useNRF_TIMER_1
.
- 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