code for mega ether...
 
Notifications
Clear all

code for mega ethernet

5 Posts
4 Users
0 Reactions
6,346 Views
Posts: 82
Topic starter
(@mojuave1)
Estimable Member
Joined: 8 years ago
[#51591]

anyone using mega with ethernet shield that has a working version of the code for relays and Vixen?


4 Replies
Posts: 10
(@jorgebolivar)
Active Member
Joined: 8 years ago

Hi, @mojuave1.

I have been working on some similar. Please, take a look to the links below.

Here copy of the link that guides us to use the extra Arduino parts in hand.

https://www.instructables.com/id/Computer-Controlled-Christmas-Lights-With-Arduino/

The links below show the original IDE development used by Todd Hammond on the instructable.

https://bitbucket.org/keithsw1111/arduinodmxws2811/src/master/

I have many compiling errors to debug on my end, probably due to libraries newer versions or things along those lines. I hope you have better luck and get it running promptly. The author is part of the forum but I have no time to post questions or my issues yet.

Hope this helps, Good Luck!


Reply
Barnabybear
Posts: 1583
(@barnabybear)
Noble Member
Joined: 15 years ago

Hi, I have code for 16 channels (no dimming in this version anyway) that was written for a Nano and ENC28J60 Ethernet shield. It shouldn’t be far off for the Mega.

Link (the second post is above it): https://www.diychristmas.org/vb1/showthread.php?8146-1-universe-170-pixel-(WS2811)-controller-E1-31-over-cable-(cat5)-not-wireless&p=91147&viewfull=1#post91147

If you need any help shout up.


Reply
Posts: 1387
 kev
(@kev)
Noble Member
Joined: 12 years ago
Reply
Posts: 82
Topic starter
(@mojuave1)
Estimable Member
Joined: 8 years ago

Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

new:47:23: error: unable to find numeric literal operator 'operator""B'

byte mac[] = {04, 15, 2B, D6, 54, CA};

^~

new:47:27: error: 'D6' was not declared in this scope

byte mac[] = {04, 15, 2B, D6, 54, CA};

^~

C:\Users\awarm\Documents\Arduino
ew
ew.ino:47:27: note: suggested alternative: 'A6'

byte mac[] = {04, 15, 2B, D6, 54, CA};

^~

A6

new:47:35: error: 'CA' was not declared in this scope

byte mac[] = {04, 15, 2B, D6, 54, CA};

^~

Multiple libraries were found for "SPI.h"
Used: C:\Program
Multiple libraries were found for "Ethernet.h"
Used: C:\Program
exit status 1
unable to find numeric literal operator 'operator""B'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

those were the errors I got


Reply
Share: