5 Replies Latest reply on Apr 5, 2015 3:15 PM by Mouhyemen

    How can I get an Arduino sketch and Node.js script to communicate with each other?


      On the arduino Yun I was able to use the SerialPort NPM module in order to communicate back and forth between Arduino code and Node.js. It seems that the Arduino code is run on the same chip. I thought that communicating serially would still work but I'm writing to both Serial and Serial1 in arduino and trying to read but I can't find anything that will give me what I need. Is there a better way? Am I doing it wrong?