JavaScript -> ? -> arduino

You need to send/get data from the Arduino to and from the PC. You can do this in lots of ways. Via the comms port over e-net, WiFi and many others.

So the question is can you get javascript to talk over any of these things. Now if you had said java that would be easy.

@goffballtech - What the Arduino uses C/C++ does not matter at all!.

Mark