View Single Post
  #13   Spotlight this post!  
Unread 30-11-2015, 22:57
SLAB-Mr.Thomas SLAB-Mr.Thomas is offline
Registered User
FRC #4237
 
Join Date: Jan 2015
Location: USA
Posts: 12
SLAB-Mr.Thomas is an unknown quantity at this point
Re: LidarLite v2 communications issues

I just posted 139887 and then got the answer myself but it's for WPILib C++ I2C. Maybe it will give you a hint.

Use WPILib C++ I2C WriteBulk and ReadOnly instead of Read.

The integrated Read specifies the register to read then the buffer which the read fills. That does not work. Separate the write the register number using WriteBulk and issue the separate read with ReadOnly.

I posted the example program using C++ WPILib.

Sorry, I don't know how to merge my thread with this one.

Last edited by SLAB-Mr.Thomas : 01-12-2015 at 15:07.
Reply With Quote