TimerOne Library

Hello everybody

I have question about the TimerOne Library. My Problem is the message "avr/io.h no such file or Directory" at the end of compiling the sketch. I have an arduino due. Can anyone help me? Thanks for help. :)

wiht Kind regards swarley_swarley

Can anyone help me?

To use a library written for the AVR architecture on a device with SAM architecture? No.

PaulS: To use a library written for the AVR architecture on a device with SAM architecture

Wich library i need to use, so i can use the Timer in my program?

Wich library i need to use, so i can use the Timer in my program?

You don't NEED a library. You need to read the data sheet for the device you have to figure out which registers to diddle with to trigger an interrupt when you want one. Using a library simply means that someone else has already done that.

You could google for a timer library for the Due or you could have posted in the Due section of the forum where maybe someone has already read the data sheet.