2021-07-01 01:59 PM
Yes your response is overly complex and my compiler had many unresolved problems with it.
What I need is a SIMPLE. list of api function calls and .h file written in "C" NOT "C#"
An init section (this will be processed once upon activation)
Then a "read a single distance value" and load that into The "hand_distance" variable this will occur over and over
That is all I need. Here are the parameters
processor BGM13P32F512GA silicon Labs
SDA PA0 PIN5 SCL PA1 PIN6
Simplicity 5 development environment
sensor vl5310x device address 0x52
SDA PIN9 SCL PIN10
Please help me with this. i looked at the github samples but they were mostly for arduino or for python operating systems et. I just need a simple listing. please show me which api calls will get this done.
PLEASE include the the above parameters in the api functions.
Thank you so much. My deadline is here and I need to get your part incorporated into our latest designs
Thank You
2021-08-24 12:44 PM
If you download the code from ST.com STSW-IMG005
VL53L0X API (Application Programming Interface and documentation)
you will get a list of APIs that should do what you want written in C.
if you are really space constrained, you can remove the unused functions - but with a little luck, your compiler will do that for you.