Hi,
I am trying to use the VL53L0x sensor with the NRF52DK. Someone has written a library but its based on c++.
(*Edited) The example provided in github works with SDK16 on SES. (Refer to this thread: https://devzone.nordicsemi.com/f/nordic-q-a/55309/problem-in-getting-data-from-sensor-vl53l0x-to-nrf52832-using-i2c-interface)
However I am now trying to add this library to the ble_app_uart example and it seems to not compile because the ble_app_uart example is based on c and not c++. Is there an easy way to import the library into this example without modifying too much codes/settings? I tried to convert the library to C, but am getting errors and I am not very familiar with converting from C++ to C.
(*Edited) Is there some settings on the compiler that I need to change so that I would compile the C and C++ file together successfully?
Thanks in advance.