Quote:
Originally Posted by feverittm
Since people are talking neopixels and arduinos on their robots. Anyone care to comment on the code required to communicate between the roboRIO and the arduino to control the LEDs (on both the Arduino and the roboRIO please)? Serial or I2C communication? Independent Arduino or an integrated device like the roboDuino?
Thanks
|
You can use anything. You can send a pwm signal to it and have the arduino read the pulse width, you could have just a simple on and off line going to it, you can have an I2C (which is much more reliable on the roborio), you can have CAN shield and attach it to the network, you can use serial, you can use ethernet. Whichever seems the most viable to you. I say use the one you know the most