hybridgroup / cylon-gpio

Cylon drivers for GPIO devices
http://cylonjs.com
Other
19 stars 14 forks source link

Added angle safety measure to lock it between 30 and 150. #9

Closed edgarsilva closed 10 years ago

deadprogram commented 10 years ago

I was thinking perhaps a better way to do this could be range: [30, 150] as a default param , and you can override it by passing in device param like range: [10, 170]

edgarsilva commented 10 years ago

I don't see why not, I will update tomorrow and push an example, or modify one of the existing ones.