duino icon indicating copy to clipboard operation
duino copied to clipboard

How would I go about adding Arduino libraries

Open estock opened this issue 11 years ago • 1 comments

Lets say for instance I have a particular library for a sensor, how would I go about adding this library so it can be accessed through duino.

estock avatar Oct 30 '13 22:10 estock

Hey, Sorry for brevity, I'm on my phone. The steps would be:

  1. create a new branch
  2. bring your sensor (hardware) code into du.ino
  3. understand the current protocol used to communicate with js
  4. expand that protocol to talk to your hardware code
  5. write a js lib file to expose an API to interact with the protocol

Hope that helps :)

Cam

On Wednesday, October 30, 2013, dereckd wrote:

Lets say for instance I have a particular library for a sensor, how would I go about adding this library so it can be accessed through duino.

— Reply to this email directly or view it on GitHubhttps://github.com/ecto/duino/issues/44 .

ecto avatar Oct 30 '13 23:10 ecto