Lab: Serial Input to P5.js Using the p5.serialport library
n this lab, you’ll generate an analog output value from a potentiometer, then send that value via asynchronous serial communication to P5.js. You’ll use that value in P5.js to draw a graph.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed