Log in

View Full Version : I2c port questions


randalcr
27-08-2010, 09:43
Is there any documentation on how to use the i2c port on the digital sidecar? I have been trying to program an ultrasonic sensor to give us a readout on our driverstation (as a user message) but so far when I run the code I only get a readback of zero. I was told there are examples on how to program the i2c port In labview, but I can't find them; can someone help it a little?

The sensor is a SRF08 ultra sonic range finder, and all of the documentation we have for it we got from http://www.acroname.com/robotics/parts/R145-SRF08.html

Thanks!

Mark McLeod
27-08-2010, 10:30
Some sample I2C uses are under Examples More...


From the LabVIEW Getting Started screen go to the bottom right under Examples and click More...

Then look at the two examples:

HiTechnic Accel Example
HiTechnic Compass Example

randalcr
27-08-2010, 10:51
Thanks!