Instructions from README.md not working #21
-
| I am trying to use a TimerInterrupt on Timer1 on an Arduino Uno R3 using this method: https://github.com/khoih-prog/TimerInterrupt#11-init-hardware-timer But I immediately get this error: Am I following the instructions wrong? According to the source code, that object should exist: https://github.com/khoih-prog/TimerInterrupt/blob/master/src/TimerInterrupt.h#L477 | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
| Thanks for your interest of the library. You have to declare  As usual, it's always better to start with a simplest example to have preliminary feelings and understand the basic operation of the library. Good Luck, | 
Beta Was this translation helpful? Give feedback.
Thanks for your interest of the library.
You have to declare
#define USE_TIMER_1 truebefore the#include <TimerInterrupt.h>, as followsAs usual, it's always better to start with a simplest example to have preliminary feelings and understand the basic operation of the library.
Good Luck,