Skip to content

Commit 421c437

Browse files
committed
correct formatting errors and other nits
1 parent 9418ae9 commit 421c437

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
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.
44

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
66
functionality. As a result this library requires that the Arduino IDE toolchain be manually configured for "gnu++17" mode.
77

88
### Use It
@@ -16,8 +16,8 @@ auto timerset = Timers::create_default();
1616

1717
Or using the *TimerSet* constructors for different timer limits / time resolution.
1818
```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
2121
```
2222

2323
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
3232
which have expired, and then return so additional processing can be handled in the loop function.
3333
```cpp
3434
void loop() {
35-
timerset.tick;
35+
timerset.tick();
3636
}
3737
```
3838

@@ -144,7 +144,7 @@ void cancel(Timer<>::Task &task);
144144
145145
### Examples
146146
147-
Found in the **examples/** folder.
147+
Found in the [**examples**](examples) folder.
148148
149149
The simplest example, blinking an LED every second *(from examples/blink)*:
150150

0 commit comments

Comments
 (0)