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.
@@ -793,7 +793,7 @@ The following is the sample terminal output when running example [ISR_8_PWMs_Arr
793
793
794
794
```
795
795
Starting ISR_8_PWMs_Array_Complex on Arduino AVR ATMega32U4
796
-
AVR_Slow_PWM v1.2.1
796
+
AVR_Slow_PWM v1.2.2
797
797
CPU Frequency = 16 MHz
798
798
[PWM] T3
799
799
[PWM] Freq * 1000 = 10000000.00
@@ -837,42 +837,24 @@ PWM Channel : 7, prog Period (ms): 125.00, actual (uS) : 125192, prog DutyCycle
837
837
The following is the sample terminal output when running example [**ISR_8_PWMs_Array**](examples/ISR_8_PWMs_Array) on **AVR Mega2560/ADK** to demonstrate how to use multiple PWM channels with simple callback functions.
838
838
839
839
```
840
-
Starting ISR_8_PWMs_Array_Complex on Arduino AVR Mega2560/ADK
841
-
AVR_Slow_PWM v1.2.1
840
+
Starting ISR_8_PWMs_Array on Arduino AVR Mega2560/ADK
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.0](#releases-v110)
@@ -22,6 +23,11 @@
22
23
23
24
## Changelog
24
25
26
+
### Releases v1.2.2
27
+
28
+
1. Use `float` for `DutyCycle` and `Freq`, `uint32_t` for `period`.
29
+
2. Optimize code by not calculation in ISR
30
+
25
31
### Releases v1.2.1
26
32
27
33
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 ISR-based PWM channels on AVR-based boards, such as Mega-2560, UNO,Nano, Leonardo, etc., to create and output PWM any GPIO pin. It now supports 16 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",
sentence=This library enables you to use ISR-based PWM channels on AVR-based boards, such as Mega-2560, UNO,Nano, Leonardo, etc., to create and output PWM any GPIO pin.
0 commit comments