Would any experts here take a stab at porting the Arduino LeddarOne library so it can be used with the Particle Electron? The Arduino library is located here
The LeddarOne is a very nice object detection sensor with many uses. I got it to work on the arduino Uno with the included example but now need to use it with my Electron. I am willing to give a small donation for your coffee as you work
@Allan, sorry for the late response on this. Porting the library requires only that the declaration of SerialPort be changed so that Serial1 is used. Otherwise, the code should work without issue. If you need assistance, let me know.
@Allan, you need to make sure it is correctly formatted for v2.0 libraries (which it should be already), publish it privately and if everything works, publish it for all to use. Thanks!
So I’m a noob and don’t really understand how to publish a private library. I read the part in the particle doc and placed in # publish you library $ particle library publish mylib but it didn’t take it. Do I need to format it differently?