ivanseidel / ivanseidel/ArduinoThread
Using micros() in setInterval()
Open
- Dominant language
- C++
- Stars
- 974
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
There's a way to set the Thread interval in microseconds?
I tried to edit the "Thread.cpp" file, changing all the millis() to micros(), but it didn't work very well.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading Thread.cpp and tracing how setInterval() uses millis(). Check the Arduino timing constraints around replacing those calls with micros(), then determine the supported interval semantics and verify them with an Arduino example or timing test. Done means a documented, reliable way to schedule thread intervals in microseconds, if supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100