You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: changelog.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
## Table of Contents
13
13
14
14
*[Changelog](#changelog)
15
+
*[Releases v1.2.2](#releases-v122)
15
16
*[Releases v1.2.1](#releases-v121)
16
17
*[Releases v1.2.0](#releases-v120)
17
18
*[Releases v1.1.1](#releases-v111)
@@ -24,6 +25,11 @@
24
25
25
26
## Changelog
26
27
28
+
### Releases v1.2.2
29
+
30
+
1. Use `float` for `DutyCycle` and `Freq`, `uint32_t` for `period`.
31
+
2. Optimize code by not calculation in ISR
32
+
27
33
### Releases v1.2.1
28
34
29
35
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](https://github.com/khoih-prog/ESP8266_PWM/issues/2)
"description": "This library enables you to use Interrupt from Hardware Timers on an ESP32, ESP32_S2 or ESP32_C3-based board to create and output PWM to pins. It now supports 16 ISR-based synchronized PWM channels, while consuming only 1 Hardware Timer. PWM interval can be very long (uint32_t millisecs). The most important feature is they're ISR-based PWM channels. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These hardware PWM channels, using interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micros(). That's necessary if you need to measure some data requiring better accuracy. Now you can change the PWM settings on-the-fly",
Copy file name to clipboardExpand all lines: library.properties
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
name=ESP32_PWM
2
-
version=1.2.1
2
+
version=1.2.2
3
3
author=Khoi Hoang <khoih.prog@gmail.com>
4
4
maintainer=Khoi Hoang <khoih.prog@gmail.com>
5
5
sentence=This library enables you to use Interrupt from Hardware Timers on an ESP32, ESP32_S2 or ESP32_C3-based board to create and output PWM to pins.
0 commit comments