/learn-node-serialport

Learn how to use node-serialport in web front project

Primary LanguageJavaScriptMIT LicenseMIT

learn-node-serialport

Learn how to use node-serialport in web front project

The socket.io and socket.io-client part is forked from https://github.com/liumingzw/learn-socket.io

How to run

  1. npm install
  2. set up server: open terminal-1 and npm run start-socket-io-for-serialport
  3. set up client: open terminal-2 and npm start
  4. open http://localhost:8012 in browser, click buttons to test
  5. check the logs of server and front