This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there Library in C for vl53L0X with nrf52832 ?

Hello, I have to use 2x VL53L0X in a development based on nrf52832, but I cannot find the adequate library for this share.
Can I use the development library on nrf51 from this link? github.com/.../nrf51-vl53l0x-driver.
I tried the solution of Peter S which works perfectly, but this solution is in C ++ and I need the same thing in C in order to include it in an already existing development?
Anyone have a solution, a lead, a help?
I work on SEGGER, SDK15.3, PCA10040, S132

  • Can I use the development library on nrf51 from this link?

    If it's for nRF51, you won't be able to use it directly - you will have to port it.

    Similarly for the C++ library.

    In both cases, they should show you what has to be done - so you just have to implement that for your specific system.

    Or just go back to basics:

    How To Interface Anything to Anything Else

    Remeber that the VL53L0X - like any other external peripheral - neither knows nor cares what microcontroller you use, now what language you program it in.