News for hackers. Stuff that matters.
Re:My Senior Design Project: Node.js WiFi-Extending Robot by dhruvbird on Thursday July 12, 2012 @01:52PM (#4235692)
I guess there are some interesting results as a result of this effort:

* Javascript can be used to program these things and is quite capable of handling low-level kind of stuff

* Since it's easier to write js code than c/c++ code (for me), I would personally prefer it; assuming that the performance degradation is within allowable limits

Re:My Senior Design Project: Node.js WiFi-Extending Robot by alberich on Thursday July 12, 2012 @02:21PM (#4235864)
What do you define as low-level stuff? It seems that Node.js was used to communicate with the components running on a regular Linux OS, not really the low-level stuff that you would be able to do with, say, C.
Re:My Senior Design Project: Node.js WiFi-Extending Robot by olalonde on Thursday July 12, 2012 @03:47PM (#4236370)
Right. I'm not very familiar with Arduino but I assume its microcontroller was programmed in C or assembly. Probably it listens for simple commands such as "activate/stop left wheel", "activate/stop right wheel".

edit: Apparently, Arduino uses its own programming language: "Arduino hardware is programmed using a Wiring-based language (syntax and libraries), similar to C++ with some slight simplifications and modifications, and a Processing-based integrated development environment." https://en.wikipedia.org/wiki/Arduino