Go to Post So does this mean we can use the FP as bumpers? :D - Peter Matteson [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-01-2014, 16:19
evan1026's Avatar
evan1026 evan1026 is offline
Programmer extraordinaire ... ish
AKA: Evan Allan
no team
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2012
Location: USA
Posts: 6
evan1026 is on a distinguished road
Help for anyone frustrated by the AndyMark ethernet Arduino

Recently our team acquired AndyMark's addressable LEDs and their ethernet arduino to control it, and I was the one who was trying to get it working. I used their example code, which worked perfectly, so I decided to just add some ethernet code to it to allow it to communicate with the robot. However, the code kept freezing up whenever I tried to call FastLED.show() (which updates the LED strip) after trying to receive communication from the ethernet connection (in other words, the function hung the second time it was called) and I could not seem to figure out why.

Well, as it turns out, pins 10-13 on the board are reserved for ethernet communication, even though they are not connected and can have things plugged into them, and that's not particularly well advertised. Moving the data and clock pins to 8 and 9 was enough to fix it, and now we can have adressable LEDs that can be controlled via ethernet by the robot.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi