https://editor.p5js.org/lr2855/sketches/q8b8tan7B
Asynchronous Serial Communications

Printing out signals out of two potentiometers

Printing out signals out of two potentiometers and a LED

Send data in different formats
Lab: Serial Input to P5.js

Connect p5 editor to USB outlet.

I try different approach to connect p5 Serialcontrol to Arduino. At first the signal appears undefined.
After reconnecting and debugging:
Here is my result:
https://video.wixstatic.com/video/006e2b_af5943ea7de04693a897cdb1f9c8066b/720p/mp4/file.mp4
Draw a Graph With the Sensor Values



Lab: Serial output from P5.js
https://video.wixstatic.com/video/006e2b_4ecb94a8d4a943648298a9c6accda0d4/720p/mp4/file.mp4
https://video.wixstatic.com/video/006e2b_31b0e7e9719b46eab75e07bd0e7d5f4b/1080p/mp4/file.mp4
https://video.wixstatic.com/video/006e2b_3ae1fa80eda743748fa9243ceecf9c3c/1080p/mp4/file.mp4
https://video.wixstatic.com/video/006e2b_a036b343791d424098d0fa732d736aec/1080p/mp4/file.mp4