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
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Simple *non-blocking* timer library for calling functions **in / at / every** specified units of time. Supports millis, micros, time rollover, and compile-time configurable number of timers.
4
4
5
-
This library was inspired by [Michael Contreras' arduino-timer library](https://github.com/sponsors/contrem/arduino-timer), but has been rewritten to make use of 'modern C++' types and
5
+
This library was inspired by [Michael Contreras' arduino-timer library](https://github.com/contrem/arduino-timer), but has been rewritten to make use of 'modern C++' types and
6
6
functionality. As a result this library requires that the Arduino IDE toolchain be manually configured for "gnu++17" mode.
7
7
8
8
### Use It
@@ -16,8 +16,8 @@ auto timerset = Timers::create_default();
16
16
17
17
Or using the *TimerSet* constructors for different timer limits / time resolution.
18
18
```cpp
19
-
Timers::TimerSet<10> timerset; // 10 concurrent times, using millis as resolution
20
-
Timers::TimerSet<10, micros, delayMicroseconds> timerset; // 10 concurrent timers, using micros as resolution
19
+
Timers::TimerSet<10> timerset; // 10 concurrent timers, using millis as resolution
20
+
Timers::TimerSet<10, micros, delayMicroseconds> microtimerset; // 10 concurrent timers, using micros as resolution
21
21
```
22
22
23
23
Call *timerset*.**tick_and_delay()** in the ```loop``` function to execute handlers for any timers
@@ -32,7 +32,7 @@ Call *timerset*.**tick()** in the ```loop``` function to execute handlers for an
32
32
which have expired, and then return so additional processing can be handled in the loop function.
0 commit comments