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.8.0
1. Fix bug introduced in v1.7.0 to SAMD21 TC3. Check [Do I have a brick? I'm unable to upload sketches after using this library! #21](#21)
Copy file name to clipboardExpand all lines: README.md
+22-17Lines changed: 22 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,8 @@ The catch is **your function is now part of an ISR (Interrupt Service Routine),
147
147
148
148
2. Typically global variables are used to pass data between an ISR and the main program. To make sure variables shared between an ISR and the main program are updated correctly, declare them as volatile.
149
149
150
+
3. The maximum time you can use directly on SAMD TC3/TCC Timer is **~1398.11ms = 1.39811s**. If you use time larger than 1398.11ms, the wrap-around will happen and you'll get much smaller time.
151
+
150
152
---
151
153
---
152
154
@@ -160,7 +162,7 @@ The catch is **your function is now part of an ISR (Interrupt Service Routine),
160
162
5.[`Sparkfun SAMD core 1.8.1+`](https://github.com/sparkfun/Arduino_Boards) for SAMD21/SAMD51 boards (SparkFun_RedBoard_Turbo, SparkFun_SAMD51_Thing_Plus, etc.).
161
163
6.[`Blynk library 1.0.1`](https://github.com/blynkkk/blynk-library/releases). [](https://github.com/blynkkk/blynk-library/releases/latest/) to use with some examples. Don't use Blynk beta versions.
162
164
7. To use with some examples, depending on which Ethernet card you're using:
163
-
-[`Ethernet_Generic library v2.1.0+`](https://github.com/khoih-prog/Ethernet_Generic) for W5100, W5200 and W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. [](https://github.com/khoih-prog/Ethernet_Generic/releases/latest)
165
+
-[`Ethernet_Generic library v2.3.0+`](https://github.com/khoih-prog/Ethernet_Generic) for W5100, W5200 and W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. [](https://github.com/khoih-prog/Ethernet_Generic/releases/latest)
164
166
-[`EthernetENC library v2.0.2+`](https://github.com/jandrassy/EthernetENC) for ENC28J60. [](https://github.com/jandrassy/EthernetENC/releases/latest). **New and Better**
165
167
-[`UIPEthernet library v2.0.11+`](https://github.com/UIPEthernet/UIPEthernet) for ENC28J60. [](https://github.com/UIPEthernet/UIPEthernet/releases/latest)
166
168
7. To use with some examples
@@ -537,7 +539,7 @@ While software timer, **programmed for 2s, is activated after 7.937s !!!**. Then
537
539
538
540
```
539
541
Starting ISR_Timer_Complex_WiFiNINA on SAMD_NANO_33_IOT
@@ -1018,15 +1020,16 @@ Submit issues to: [SAMD_TimerInterrupt issues](https://github.com/khoih-prog/SAM
1018
1020
## DONE
1019
1021
1020
1022
1021
-
1. Basic hardware timers for SAMD21 and SAMD51.
1022
-
2. More hardware-initiated software-enabled timers
1023
-
3. Longer time interval
1024
-
4. Similar features for remaining Arduino boards such as ESP32, ESP8266, STM32, nRF52, mbed-nRF52, Teensy, etc.
1025
-
5. Add Table of Contents
1026
-
6. Fix `multiple-definitions` linker error
1027
-
7. Add support to many more boards, such as `SAMD21E1xA`, `SAMD21G1xA` and`SAMD21J1xA`
1028
-
8. Optimize library code by using `reference-passing` instead of `value-passing`
1029
-
9. Optimize code for setInterval() of SAMD21 TC3
1023
+
1. Basic hardware timers for SAMD21 and SAMD51.
1024
+
2. More hardware-initiated software-enabled timers
1025
+
3. Longer time interval
1026
+
4. Similar features for remaining Arduino boards such as ESP32, ESP8266, STM32, nRF52, mbed-nRF52, Teensy, etc.
1027
+
5. Add Table of Contents
1028
+
6. Fix `multiple-definitions` linker error
1029
+
7. Add support to many more boards, such as `SAMD21E1xA`, `SAMD21G1xA` and`SAMD21J1xA`
1030
+
8. Optimize library code by using `reference-passing` instead of `value-passing`
1031
+
9. Optimize code for `setInterval()` of SAMD21 TC3
1032
+
10. Reverse the change in `setInterval()` of SAMD21 TC3 to fix bug when using SAMD21 TC3.
1030
1033
1031
1034
---
1032
1035
---
@@ -1042,7 +1045,8 @@ Many thanks for everyone for bug reporting, new feature suggesting, testing and
1042
1045
5. Thanks to [generationmake](https://github.com/generationmake) to make a PR in [change variable period from unsigned long to float #7](https://github.com/khoih-prog/SAMD_TimerInterrupt/pull/7) leading to new release v1.5.0.
1043
1046
6. Thanks to [Alexander Golovanov](https://github.com/homeodor) to propose a PR in [Add more SAMD21 #10](https://github.com/khoih-prog/SAMD_TimerInterrupt/pull/10) leading to the support of many new boards in new release v1.6.0
1044
1047
7. Thanks to [Will Powell](https://github.com/WillPowellUk) to report the bug in [Multiple Definition Error Not fixed by swapping src_cpp or src_h with src #9](https://github.com/khoih-prog/SAMD_TimerInterrupt/issues/9) leading to new release v1.6.0.
1045
-
8. Thanks to [Dave Hooper](https://github.com/stripwax) to report the bug and propose the fix in [setInterval on a running timer results in a period significantly longer than the specified period #17](https://github.com/khoih-prog/SAMD_TimerInterrupt/issues/17) leading to new release v1.7.0.
1048
+
8. Thanks to [Dave Hooper](https://github.com/stripwax) to report the bug and propose the fix in [setInterval on a running timer results in a period significantly longer than the specified period #17](https://github.com/khoih-prog/SAMD_TimerInterrupt/issues/17) leading to new release v1.7.0
1049
+
9. Thanks to [Rui Marinheiro](https://github.com/sailorsail) to start the discussion in [Do I have a brick? I'm unable to upload sketches after using this library! #21](https://github.com/khoih-prog/SAMD_TimerInterrupt/discussions/21) leading to new release v1.8.0 to fix the bug
1046
1050
1047
1051
1048
1052
<table>
@@ -1057,6 +1061,7 @@ Many thanks for everyone for bug reporting, new feature suggesting, testing and
Copy file name to clipboardExpand all lines: changelog.md
+5Lines changed: 5 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.8.0](#releases-v180)
15
16
*[Releases v1.7.0](#releases-v170)
16
17
*[Releases v1.6.0](#releases-v160)
17
18
*[Releases v1.5.0](#releases-v150)
@@ -29,6 +30,10 @@
29
30
30
31
## Changelog
31
32
33
+
### Releases v1.8.0
34
+
35
+
1. Fix bug introduced in v1.7.0 to SAMD21 TC3. Check [Do I have a brick? I'm unable to upload sketches after using this library! #21](https://github.com/khoih-prog/SAMD_TimerInterrupt/discussions/21)
36
+
32
37
### Releases v1.7.0
33
38
34
39
1. Optimize code for setInterval() of SAMD21 TC3. Check [setInterval on a running timer results in a period significantly longer than the specified period #17](https://github.com/khoih-prog/SAMD_TimerInterrupt/issues/17)
"description": "This library enables you to use Interrupt from Hardware Timers on SAMD-based boards. It now supports 16 ISR-based timers, while consuming only 1 Hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based timers. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These hardware timers, 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.",
sentence=This library enables you to use Interrupt from Hardware Timers on SAMD-based boards such as SAMD21 Nano-33-IoT, Adafruit SAMD51 Itsy-Bitsy M4, SeeedStudio XIAO, Sparkfun SAMD51_MICROMOD, etc.
0 commit comments