Go Down

Topic: Arduino Due (Read 321 times) previous topic - next topic

coke

Hi I'm a new in arduino(arduino due programming
I try to run this code on my arduino board
https://github.com/damico/ARDUINO-OATH-TOKEN/blob/master/arduino_oath_token/arduino_oath_token.ino

when I run it on my arduino all is okbut when I try to run it on my arduino due I recieve this error
fatal error: avr/io.h: No such file or directory
I have read that is prenent some trouble with arduino due and Arduino 1.5.x... I have also download the new Avr library but I cant find the right place for put it inside my Arduino.app folder (on a mac) Is present a lot of folder named avr :(
someone can help me to solve the problem?
tnk

wanderson

Try adding #include <Arduino.h> at the top of your program.  If that doesn't work, verify that the Liquid Crystal library version your using works with the Due--perhaps download the most recent version.
New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 1.0.1

coke

I have try with Arduino.h but is not the problem.

not even lcd library is the trouble because in my project I haven't hit (the github project is only an example for start).


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy