sstaub / Ticker

Ticker library for Arduino
MIT License
192 stars 37 forks source link

error in readme.md #39

Closed stef-ladefense closed 3 years ago

stef-ladefense commented 3 years ago

examples

Tickers timer(blink, 1000); // calls function blink() every second, internal resolution is micros, running endless Tickers timer(blink, 1000, 5); // calls function blink() every second, internal resolution is micros, only 5 repeats

micro ? sure ?

Tickers timer(blink, 1000, 0, MILLIS); // calls function blink() every second, internal resolution is millis, running endless Tickers timer(blink, 1000, 0, MICROS_MICROS); // calls function blink() every 1000 microsecond, internal resolution is micros, running endless

sstaub commented 3 years ago

internal resolution is micros() as standard

stef-ladefense commented 3 years ago

you write mode set the interval resolution to MILLIS (default) or MICROS it's wrong then ?

sstaub commented 3 years ago

It was MICROS and I correct the readme.

stef-ladefense commented 3 years ago

Good ! merci