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.
### Releases v1.2.0
1. Fix `multiple-definitions` linker error. Drop `src_cpp` and `src_h` directories
2. 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](khoih-prog/ESP8266_PWM#2)
3. Add examples [multiFileProject](examples/multiFileProject) to demo for multiple-file project
4. Improve accuracy by using `double`, instead of `uint32_t` for `dutycycle`, `period`. Check [Change Duty Cycle #1](khoih-prog/ESP8266_PWM#1 (comment))
5. Optimize library code by using `reference-passing` instead of `value-passing`
6. Update examples accordingly
Copy file name to clipboardexpand all lines: README.md
+17
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,23 @@
54
54
---
55
55
---
56
56
57
+
### Important Change from v1.2.0
58
+
59
+
Please have a look at [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error)
60
+
61
+
As more complex calculation and check inside ISR are introduced from v1.2.0, there are consequences as follows
62
+
63
+
- using min 30uS and max 8 PWM channels
64
+
65
+
```
66
+
// Don't change these numbers to make higher Timer freq. System can hang
67
+
#define HW_TIMER_INTERVAL_US 30L
68
+
#define HW_TIMER_INTERVAL_FREQ 33333L
69
+
```
70
+
71
+
You certainly can modify to use better values according to your board and use-case, just remember to test and reverse to conservative values if crash happens.
72
+
73
+
57
74
### Why do we need this [SAMDUE_Slow_PWM library](https://github.com/khoih-prog/SAMDUE_Slow_PWM)
0 commit comments