loading...

re: JS 💖 Hardware – Getting started with Nodebots and Johnny-Five VIEW POST

FULL DISCUSSION
 

I know nothing (pretty much like Jon Snow), about working with hardware and Arduino, so if this is a dumb question I'm sorry.

You said that the drawback of using Javascript with Arduino is that you can only execute code on 'host system'.

What exactly does that implicates?

 

You are forced to keep your arduino connected to your computer.

Basically, this system works as a Node server on your computer, that will compile and send instructions to the Arduino, that will eval them. No code persistance on Arduino-side, besides the instruction interpreter (firmata was its name ?).

If you're just spinning up a small prototype, it can be fun, but it have no interest if you're trying to use your Arduino as a stand-alone system, like in most, if not all, situations.

 

I see, thanks very much for the response.

code of conduct - report abuse