|
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
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080
Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812
#banthebag
#RIBMEATS
#1620
|