Pages: [1]   Go Down
Author Topic: Arduino Due  (Read 110 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley-sad
someone can help me to solve the problem?
tnk
Logged

Dallas, Texas
Online Online
God Member
*****
Karma: 3
Posts: 717
Old, decrepit curmugeon
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 0.7.2

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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).

Logged

Pages: [1]   Go Up
Jump to: