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.5.0
1. Fix `multiple-definitions` linker error. Drop `src_cpp` and `src_h` directories
2. Add feature to select among highest, medium or lowest accuracy for Timers for shortest, medium or longest time
3. Fix reattachInterrupt() bug. Check [bugfix: reattachInterrupt() pass wrong frequency value to setFrequency() #19](#19)
Copy file name to clipboardExpand all lines: README.md
+34-18Lines changed: 34 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,24 +161,21 @@ Another way to install is to:
161
161
162
162
### HOWTO Fix `Multiple Definitions` Linker Error
163
163
164
-
The current library implementation, using **xyz-Impl.h instead of standard xyz.cpp**, possibly creates certain `Multiple Definitions` Linker error in certain use cases. Although it's simple to just modify several lines of code, either in the library or in the application, the library is adding 2 more source directories
164
+
The current library implementation, using `xyz-Impl.h` instead of standard `xyz.cpp`, possibly creates certain `Multiple Definitions` Linker error in certain use cases.
165
165
166
-
1.**scr_h** for new h-only files
167
-
2.**src_cpp** for standard h/cpp files
166
+
You can use
168
167
169
-
besides the standard **src** directory.
170
-
171
-
To use the **old standard cpp** way, locate this library' directory, then just
2.**Copy all the files in src_cpp directory into src.**
175
-
3. Close then reopen the application code in Arduino IDE, etc. to recompile from scratch.
172
+
in many files. But be sure to use the following `#include <ESP8266_ISR_Timer.h>`**in just 1 `.h`, `.cpp` or `.ino` file**, which must **not be included in any other file**, to avoid `Multiple Definitions` Linker Error
176
173
177
-
To re-use the **new h-only** way, just
174
+
```
175
+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
@@ -562,7 +573,7 @@ The following is the sample terminal output when running example [Change_Interva
562
573
563
574
```
564
575
Starting Change_Interval on ESP8266_NODEMCU_ESP12E
565
-
ESP8266TimerInterrupt v1.4.1
576
+
ESP8266TimerInterrupt v1.5.0
566
577
CPU Frequency = 160 MHz
567
578
Starting ITimer OK, millis() = 162
568
579
Time = 10001, TimerCount = 19
@@ -601,7 +612,7 @@ The following is the sample terminal output when running example [ISR_16_Timers_
601
612
602
613
```
603
614
Starting ISR_16_Timers_Array on ESP8266_NODEMCU_ESP12E
604
-
ESP8266TimerInterrupt v1.4.1
615
+
ESP8266TimerInterrupt v1.5.0
605
616
CPU Frequency = 160 MHz
606
617
Starting ITimer OK, millis() = 175
607
618
1s: Delta ms = 1003, ms = 1178
@@ -674,7 +685,7 @@ The following is the sample terminal output when running example [ISR_16_Timers_
674
685
675
686
```
676
687
Starting ISR_16_Timers_Array_Complex on ESP8266_NODEMCU_ESP12E
677
-
ESP8266TimerInterrupt v1.4.1
688
+
ESP8266TimerInterrupt v1.5.0
678
689
CPU Frequency = 160 MHz
679
690
Starting ITimer OK, millis() = 177
680
691
SimpleTimer : 2, ms : 10179, Dms : 10000
@@ -868,18 +879,23 @@ Submit issues to: [ESP8266TimerInterrupt issues](https://github.com/khoih-prog/E
868
879
6. Fix compiler errors due to conflict to some libraries.
869
880
7. Add complex examples.
870
881
5. Update to match new ESP8266 core v3.0.2
882
+
6. Fix `multiple-definitions` linker error. Drop `src_cpp` and `src_h` directories
883
+
7. Add feature to select among highest, medium or lowest accuracy for Timers for shortest, medium or longest time
884
+
871
885
872
886
---
873
887
---
874
888
875
889
## Contributions and thanks
876
890
877
891
1. Thanks to [Holger Lembke](https://github.com/holgerlembke) to report [ESP8266TimerInterrupt Issue 8: **ESP8266Timer and PWM --> wdt reset**](https://github.com/khoih-prog/ESP8266TimerInterrupt/issues/8), leading to the [HOWTO Use PWM analogWrite() with ESP8266 running Timer1 Interrupt](https://github.com/khoih-prog/ESP8266TimerInterrupt#howto-use-pwm-analogwrite-with-esp8266-running-timer1-interrupt) notes.
892
+
2. Thanks to [Eugene](https://github.com/RushOnline) to make bug-fixing PR and discussion in [bugfix: reattachInterrupt() pass wrong frequency value to setFrequency() #19](https://github.com/khoih-prog/ESP8266TimerInterrupt/pull/19), leading to v1.5.0
Copy file name to clipboardExpand all lines: changelog.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
---
11
11
12
12
*[Changelog](#changelog)
13
+
*[Releases v1.5.0](#releases-v150)
13
14
*[Releases v1.4.1](#releases-v141)
14
15
*[Releases v1.4.0](#releases-v140)
15
16
*[Releases v1.3.0](#releases-v130)
@@ -24,6 +25,12 @@
24
25
25
26
## Changelog
26
27
28
+
### Releases v1.5.0
29
+
30
+
1. Fix `multiple-definitions` linker error. Drop `src_cpp` and `src_h` directories
31
+
2. Add feature to select among highest, medium or lowest accuracy for Timers for shortest, medium or longest time
32
+
3. Fix reattachInterrupt() bug. Check [bugfix: reattachInterrupt() pass wrong frequency value to setFrequency() #19](https://github.com/khoih-prog/ESP8266TimerInterrupt/pull/19)
0 commit comments