Is their anyone with a simple example program where the Spark Core is a TCP server that can accept multiple (Max at ~10) analogWrites per second from a single dedicated AJAX capable website?
Wow https://github.com/voodootikigod/voodoospark. That is exactly what is needed, but I am trying to simplify things so I might not be able to use it. Thanks for the heads up. The Github repository looks well written and maintained.
Actually looking at the code at https://github.com/voodootikigod/voodoospark, if I can get rid of all the debug stuff, any replys from the Core and everything except the AnalogWrite, maybe I can use it.
The .js example at https://github.com/voodootikigod/voodoospark/blob/master/firmware/examples/servo.js looks fairly easy to follow. Just not sure if this is in a Node.js file or can be included in a webpage using javascript. Will search for more working examples.
Thanks peekay123.
So trying to do this myself. If anyone wants to help with the repository have a look at
and send me a pull request.