Using Pulsedlight LIDAR-Lite v2 code on Photon / Core

Hello Particle community,

I have recently acquired a Pulsedlight LIDAR-Lite v2 and I am interested in hooking it to my Particle Photon
for distance measurement. The Lidar can use both PWM or I²C connections.

I have a very little Arduino experience and I am not (yet) familiar with Photon / Core devices, I wonder how much rework is needed on the code to be compatible with our favorite devices. There are some Arduino and Intel Edison samples here: https://github.com/PulsedLight3D
Some other code can also be found on multicopter dev. communities which seem fond of Lidar devices.

Thank you in advance for your help.

Cheers.