|
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.
|