Go to Post I think that's what they think you will think, therefore you are thinking what they want you to think. - Wetzel [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 24-02-2015, 16:13
jman4747's Avatar
jman4747 jman4747 is offline
Just building robots
AKA: Josh
FRC #4080 (Team Reboot)
Team Role: CAD
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Atlanta GA
Posts: 418
jman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond repute
Programing VL6180 I2c Sensor I2c

I have been working on building 2 VI's for initializing and getting the range from the VL6180 sensor via I2c. I haven't used I2c before so I'm trying to see if I've done this right. Specifically the initialization (App note pages 24-25) and checking if a bit in a byte read from a register (0x4f) is 1 or 0 (App note page 7).

Data Sheet:
https://cdn.sparkfun.com/datasheets/...DM00112632.pdf

Application Note:
https://cdn.sparkfun.com/datasheets/...cationNote.pdf

Product Page: https://www.sparkfun.com/products/12784
Attached Thumbnails
Click image for larger version

Name:	VL6180 Get Range I2c.png
Views:	80
Size:	49.1 KB
ID:	18477  Click image for larger version

Name:	Open VL6180 I2c.png
Views:	98
Size:	62.4 KB
ID:	18478  
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080

Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812

#banthebag
#RIBMEATS
#1620
Reply With Quote
 


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


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

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