Closed Huyyuh2000 closed 3 years ago
Without the MRE, no one will spend time to understand what's wrong with your code.
On the other hand, using TimerInterrupt and ISR requires more sophisticated knowledge about hardware, coding in order to prevent conflicts. So you have to check, research and understand why there is conflict and use different Timer to avoid the issue.
I'm closing the issue now, and only reopen when you post MRE and prove this is a bug of the TimerInterrupt library.
Also you have to post the code correctly, by using code tag ( <> or tripple ticks), not just a useless picture.
Describe the bug
When I was using Timer 1 to read value form current sensor using Timer1 for servo control project. It occurred an error like image below. I haven't check it clearly but I think it is conflict with servo library form Arduino Ide
Screenshots
Information