npm install express serialport ws -save
ls /dev/tty.*
const serialPort = new SerialPort({
path: '/dev/tty.usbmodemSP000002153', baudRate: 115200,
dataBits: 8,
parity: 'none',
stopBits: 1,
flowControl: false
});
npm run start
cd Tools
http-server
Warning
Make sure http-server
is already installed. If not just install it by following command.
npm install -g http-server
Open chrome and type http://localhost:8080/
as a URL