RasPiArduino icon indicating copy to clipboard operation
RasPiArduino copied to clipboard

avr/io.h: No such file or directory

Open aliyazdanipak opened this issue 7 years ago • 3 comments

hi I want to use TimerOne library. when I compile i get this error : "C:\Program Files (x86)\Arduino\libraries\TimerOne/TimerOne.h:39:20: fatal error: avr/io.h: No such file or directory" I really appreciate your help and your project .

aliyazdanipak avatar Sep 25 '17 12:09 aliyazdanipak

ok there is no timer library for raspberry - avr-based timer any idea?

aliyazdanipak avatar Sep 26 '17 16:09 aliyazdanipak

Raspberry PI is a computer. You do not have the timers that you are used to in microcontrollers :) You have threads instead.

me-no-dev avatar Sep 27 '17 02:09 me-no-dev

is there any difference between thread and timer - interupts ? i want to import dmd library it is using timer , do you have any experience?

aliyazdanipak avatar Oct 01 '17 14:10 aliyazdanipak