FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get digital gyro connected via I2C port to work

Highlighted
0 Kudos
Message 1 of 2
(2,703 Views)
Highlighted

In order to use the I2C VIs, you'll need to know how your device communicates via I2C.  The product manual for this particular gyroscope can be found here: https://www.sparkfun.com/datasheets/Sensors/Gyro/PS-ITG-3200-00-01.4.pdf  I would pay attention to registers 27-34. 

In the past, this team was able to implement I2C VIs to talk with their gyroscope.  You might take a look at how they put their code together and take ideas from them on how to poll registers and what to do with the information when you find it: http://www.chiefdelphi.com/forums/showthread.php?t=127677

Message 2 of 2
(1,482 Views)