Wio Terminal Arduino timer interrupts

Hi

How do I use a timer interrupt in Arduino? I would like an ISR to run every ms.

The problem is I am using ATH20 and reading it takes 200ms. I need other things to react during this time.

Thanks.

Hi @JohnF

To use timer interrupt on Wio Terminal, you can try this lib: https://github.com/Dennis-van-Gils/SAMD51_InterruptTimer

Thanks

Thank you, this works well.

Good to hear :smiley:

There is slightly better version here

3 Likes