View Single Post
  #3   Spotlight this post!  
Unread 21-02-2016, 22:48
lsato808 lsato808 is offline
Registered User
FRC #1056
 
Join Date: Jan 2016
Location: Hawaii
Posts: 1
lsato808 is an unknown quantity at this point
Re: Arduino Ethernet with roboRIO

Quote:
Originally Posted by pblankenbaker View Post
We don't have any experience using a Ethernet interface on an Arduino for command and control. However, we are using a Arduino this year to control LEDs as well. Our implementation is fairly simple. We have 4 separate LED patterns which our Arduino can run. To tell the Arduino which pattern to show, we connected two digital outputs from the roboRIO to digital inputs on the Arduino.

The Arduino just monitors the digital inputs to see which LED pattern to show.

We just use two DigitalOutput objects on the roboRIO side to tell the Arduino which pattern we want it to display.

It's not the most sophisticated system, but it works well and is simple to implement when it's late in the season and you want to get your LEDs lit.

Good Luck.
How did you code this on the arduino side? Is it some kind of if statement? and if so how did you address it?

Thanks in advance.
Reply With Quote