ecto / duino

:bulb: Arduino framework for node.js
958 stars 214 forks source link

How would I go about adding Arduino libraries #44

Open estock opened 10 years ago

estock commented 10 years ago

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.

ecto commented 10 years ago

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 .