Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 5f29ca0

Browse files
authored
Update HOWTO Set Hardware Timer Frequency.
Update README to show HOWTO Set Hardware Timer Frequency.
1 parent b1ea618 commit 5f29ca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ void setup()
423423
{
424424
....
425425
426-
// Interval in microsecs
427-
if (ITimer.attachInterruptInterval(HW_TIMER_INTERVAL_MS * 1000, TimerHandler))
426+
// Interval in millisecs
427+
if (ITimer.attachInterruptInterval(HW_TIMER_INTERVAL_MS, TimerHandler))
428428
{
429429
lastMillis = millis();
430430
Serial.println("Starting ITimer OK, millis() = " + String(lastMillis));

0 commit comments

Comments
 (0)