ecto / duino

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

Duino doesn't work with 2 servos? #30

Open palaa159 opened 11 years ago

palaa159 commented 11 years ago

Hi--, I attached 2 servo motors on my arduino (declaring servo1, servo2 in node server with different pin). It always only works with the 2nd motor I attach, duino seems to ignore the first one? Do you know how to fix this?

Thanks,

astagi commented 11 years ago

Dui.no actually doesn't allow you to allocate more than one object of the same class.. I created Nanpy, it's similar to Dui.no but with that feature and automatic deallocation https://github.com/nanpy/nanpy .. It's python anyway..

I think to write a patch for Dui.no I love this project :)