Quote:
Originally Posted by Bpk9p4
sorry about that one. I will get that posted once i am home from work. Yes the I2C is set to 3.3v
I have hooked it up to 5v (from the DIO 5v pin) and i get the same results
|
Hmm..not sure what it could be. I think we wired the same as you are. We wired to the main I2C port on the RIO except for power which we wired to a 5V pin on DIO. We didn't add pull-up resistors or the capacitor that is shown on Lidar-Lite Website Arduino wiring example.
I see your code has the same loop time delays as ours...try putting the I2C Enum VI in your Begin temporarily to see if you can see the Lidar at all.
Another thing I have done to convince myself that the Lidar is working is to connect it to an Arduino, if you have one, and use the software from the Lidar Lite website to see the data.