voodootikigod / voodoospark

A RPC based firmware for a Spark Core device (like being connected, but without the wire!)
MIT License
145 stars 35 forks source link

Servo write still doesn't work #12

Closed rwaldron closed 10 years ago

rwaldron commented 10 years ago

I had a report on twitter: https://twitter.com/Resseguie/status/467863639274582016 and I confirmed it myself.

voodootikigod commented 10 years ago

Code. And use pin mode output not servo(where did that mode even come from?) On May 17, 2014 11:27 PM, "Rick Waldron" notifications@github.com wrote:

I had a report on twitter: https://twitter.com/Resseguie/status/467863639274582016 and I confirmed it myself.

— Reply to this email directly or view it on GitHubhttps://github.com/voodootikigod/voodoospark/issues/12 .

Resseguie commented 10 years ago

Example using @makenai SumoBot Jr example modified to use Spark-IO for wireless control.

https://github.com/Resseguie/sumobot-jr/blob/master/code_example/spark-sumo.js

rwaldron commented 10 years ago

(where did that mode even come from?)

That's in Standard Firmata and part of the Firmata protocol. http://www.firmata.org/wiki/Protocol#Control_Messages_Expansion

rwaldron commented 10 years ago

I pushed a patch to Spark-IO that will coerce SERVO mode to OUTPUT mode.