2021-12-07 03:19 AM
I would to know how can I read 16bits response to this device from linux?
2021-12-16 07:03 AM
The easy way is to go to GitHub.com and look for a match,
I searched for VL6180 and got:
Raspberry Pi library for the VL6180 i2c distance sensor
That might be a good way to start.
The API that ST supplies gets you most of the way.
VL6180X API (Application Programming Interface and Documentation)
But that code leaves out how it's
VL6180x_I2CRead(VL6180xDev_t dev, uint8_t *buff, uint8_t len)
Functions are implemented in your processor.
But a search in GitHub would be where I would start.