Skip to content
Snippets Groups Projects
user avatar
tomek authored
dc98da1d

p5js Webserial to Arduino

Working example using the WebSerial lirary by Tom Igoe.

--> build and tested with arduino IDE v2.1 and Processing IDE v4.2 (processing Mode: p5.js v1.6)

Things to Note

  1. keep in mind that only once program can use a Serial port at a time. This means that you can't open the Arduino Serial monitor when connected to web-serial.
  2. Webserial currently only works in Chrome.
  3. Sometimes, the browser cache ignores changes to your script.To avoid this, use incognito mode.

Further information