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

Instructions from README.md not working #21

Answered by khoih-prog
jrddupont asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your interest of the library.

You have to declare #define USE_TIMER_1 true before the #include <TimerInterrupt.h>, as follows

#define USE_TIMER_1     true

#include <TimerInterrupt.h>
#include <ISR_Timer.h>

void setup()
{
  ITimer1.init();
}

void loop() 
{

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,

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jrddupont
Comment options

Answer selected by jrddupont
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants