Go Down

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

#### monoboy4

##### Apr 25, 2016, 12:44 am
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

#1
##### Apr 25, 2016, 04:34 am

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

#2
##### Apr 25, 2016, 04:40 amLast Edit: Apr 25, 2016, 04:42 am by 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

#3
##### Apr 26, 2016, 11:53 pm
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

#4
##### Apr 27, 2016, 12:01 am
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

#5
##### Apr 27, 2016, 12:07 am
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

#6
##### Apr 27, 2016, 12:07 am
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

#7
##### Apr 27, 2016, 01:12 am
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

#8

#9

#### monoboy4

#10
##### Apr 30, 2016, 03:58 am
Pert it works beautifully with the Due board... thank you!!!

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

#### pert

#11
##### Apr 30, 2016, 04:25 am
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