/SERIAL_TEST

node serialport example with arduino

Primary LanguageArduino

Node Serial Example

Instructions

  1. $ git clone https://github.com/dinsmorealex/SERIAL_TEST.git // clone repo locally
  • $ cd SERIAL-TEST // change directory into repo folder
  • $ open . // open this folder in finder
  • Open arduino/serial_test/serial_test.ino in the Arduino app
  • Upload this sketch the Arduino. check that the serial port matches line 8 in serial_test.js
  • $ npm install // install all server modules
  • $ node serial_test.js // run node script