tigoe/NetworkExamples — pull request #1 by hex705 (2012-11-18 05:59:14+00:00)
Title: change parse method and dependancies..

Tom,

These are great examples -- I am very glad I saw the tutorial on your blog. I have found and corrected two small bugs.

Both in restToSerial.js

First, restToSerial.js throws IO.socket error when run from clean install with modules folder inside restToSerial folder. (several ways to fix this -- to keep consistent with blog post -- and lack of need of io.sockets I remove the require line from top of code. )

Second: messages not parsing -- all sliders control first color selected after server start up. This is corrected with code from older repository. Parse method inside < app.get('/output*', function (request, response) > is altered to to strip '/' in .js so that Arduino can separate colors.

Thanks for another great example -- I really like the possibilities suggested by this series of posts.

steve