Pages: [1]   Go Down
Author Topic: Arduino Due Libraries Problems  (Read 1083 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

Hello (:
First of all Arduino Due is very cool thing, but it is still in beta, and I have a lot of problems with it.

The main question is
"Which are the equal libraries to pgmspace.h, io.h etc."
I have a lot of shields for Arduino Uno, but more than the half shields doesn't work with Due. ( Example -> Adafruit Wave Shield, SparkFun MP3 shield )
And the main reason for that is the lack of some of the libraries.
So if someone can tell me where are located the following libraries from AVR microcontrolers in the Due library directory.
  - pgmspace.h
  - io.h
 
And are there a way to rewrite a library from Uno to Due ?
Logged

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

Hi,
Me too I suffer for the same problem.
I'm particulary interested on the library - pgmspace.h
This library work well with Arduino One, but it doesn't with Arduino Mega and with Arduino Due.
Thank for any help

Giovanni Siccardi
sigi@uno.it
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As I mentioned in the thread: http://arduino.cc/forum/index.php/topic,153761.0.html

I solved this one by defining my own version of the defines I needed to make the code to work.  That is I don't believe there is a separate memory space for code versus data, so for the most part you don't need these defines.  So you simply need to define them in such a way as they are a NOP or define the underlying data type.

Kurt
Logged

Pages: [1]   Go Up
Jump to: