View Single Post
  #5   Spotlight this post!  
Unread 29-01-2015, 15:39
ianespana ianespana is offline
Registered User
no team
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Mexico
Posts: 11
ianespana is an unknown quantity at this point
Question about I2C Communication

Quote:
Originally Posted by Alan Anderson View Post
To have a good chance of figuring out what might be wrong, we'll need a whole lot more information about your system. Tell us what you're doing, exactly what you expect to happen, and exactly what happens instead. Be as specific and as detailed as possible. Don't summarize or leave out anything you might not think is important. Better to give us too much than too little.



Seeing your code would help. Seeing a picture of your wiring would be good too.

What we're trying to do is control a LED strip with an Arduino. The RoboRIO will send the Arduino an RGB value which will then be used to control the LED strip. At certain points controlled by us, the RoboRIO will "ask" the Arduino what it current RGB values are. This last bit is what we've been having trouble with, because the Arduino gets the message from the RIO, but when it sends the RGB values back the RIO doesn't read them. This is the receive code inside LabVIEW:
Click image for larger version

Name:	ImageUploadedByTapatalk1422564178.563284.jpg
Views:	45
Size:	88.5 KB
ID:	18044
Note that we know the current address is 0, that was just for testing purposes.

At the moment I can't take a picture of the wiring.

Last edited by ianespana : 29-01-2015 at 15:42.
Reply With Quote