![]() |
Arduino, pixy, and RoboRio Communications
My name is Noah, and I am part of team 4125 in Oregon. I am having troubles with receiving data from the arduino. I am writing to the arduino, but not receiving. I am trying to use a pixy for vision processing for the gears.
Code:
#include <SPI.h> |
Re: Arduino, pixy, and RoboRio Communications
Noah,
You do not need to use an arduino to communicate with the Pixy cam. There multiple interface options from the Pixy that the roboRIO can connect to directly. Last year we used the simple digital\analog x interface which tells you if it sees a target or not (digital), and where within the frame the target is (analog). This interface connects directly to 1 digital input and 1 analog input on the roboRIO. The C++ class we created for this is shown here: Code:
/*Hope this helps. |
| All times are GMT -5. The time now is 11:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi