Go to Post I have a pocket full of Gracious Professionalism! How about you? - Schnabel [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-08-2010, 09:43
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Question I2c port questions

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!
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
  #2   Spotlight this post!  
Unread 27-08-2010, 10:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,722
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: I2c port questions

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
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 27-08-2010, 10:51
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Smile Re: I2c port questions

Thanks!
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple I2C sensors ajd Sensors 7 20-02-2011 00:55
i2c output virtuald Programming 16 18-01-2009 19:20
I2C tutorials John Gutmann Electrical 3 30-07-2005 10:44
I2C? John Gutmann Electrical 3 19-07-2005 22:52
TTL port to a serial port on a demo board ImmortalAres Programming 16 09-07-2005 23:44


All times are GMT -5. The time now is 10:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi