Go Down

Topic: reward for helping make the e131 library work on a Due board (Read 256 times) previous topic - next topic

monoboy4

Hello i cant for the life of me figure out how to get the e131 library to compile code for the arduino Due board.  the code compiles fine for the Mega but errors out for the Due.  please let me know if you can help.  im trying to compile the "ethernet test"  code in the examples folder of the library

pert

  • Download the file attached to this message.
  • Replace C:\Users\it_laptop\Documents\Arduino\libraries\E131-master\E131.h with the downloaded file.

After doing this the code should compile.

Or if you want to edit the file yourself:

Open C:\Users\it_laptop\Documents\Arduino\libraries\E131-master\E131.h with a text editor
Change line 34 from
Code: [Select]
#elif defined (ARDUINO_ARCH_AVR)
to
Code: [Select]
#else
Save the file

Let me know how it goes. Per

pert

Ok, even though that change makes it compile I found some other changes that need to be made so use the attached files instead. I don't own a Due so can't test.

monoboy4

Hi Pert first thank you for replying to my post second what version of the arduino IDE are you using?  im using 1.6.7 and heres the new error i get..  i appreciate your help

monoboy4

Hello i cant for the life of me figure out how to get the e131 library to compile code for the arduino Due board.  the code compiles fine for the Mega but errors out for the Due.  please let me know if you can help.  im trying to compile the "ethernet test"  code in the examples folder of the library

monoboy4

Hello i cant for the life of me figure out how to get the e131 library to compile code for the arduino Due board.  the code compiles fine for the Mega but errors out for the Due.  please let me know if you can help.  im trying to compile the "ethernet test"  code in the examples folder of the library

pert

Ok, sorry about that. Turns out I had it right the first time because PROGMEM is for AVR only. So try the attached files. Compiles for me with 1.6.7 and Due.

DrAzzy

Can you post the full text of the compile errors, the code, and the url of the libraries you're using? Also, what ethernet board?
ATtiny core for 841+1634+828 and x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny 841/1634/828/88/861/167 breakouts, mosfets, touch sensors and prototyping board in my store http://tindie.com/stores/DrAzzy

Coding Badly


@monoboy4, please stop cross-posting.  Threads merged.


Coding Badly


@monoboy4, please stop cross-posting.  Threads merged.  Again.


monoboy4

Pert it works beautifully with the Due board... thank you!!!   

now im getting this error trying to use a Galileo board.

pert

Glad to hear I was able to help! As for your new problem, you're probably not going to be able to use the FastLED library with your Galileo. See https://github.com/FastLED/FastLED/issues/98.

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