Lab: Two-Way (Duplex) Serial Communication Using An Arduino and the p5.webserial Library

https://itp.nyu.edu/physcomp/labs/labs-serial-communication/lab-two-way-duplex-webserial-communication/

Screenshot 2023-10-31 at 4.46.23 PM.png

Two way of Asynchronous: Binary & ASCII

ceive the data in P5.js

Screenshot 2023-10-31 at 5.01.15 PM.png

Code is correct

Screenshot 2023-10-31 at 5.12.04 PM.png

Screenshot 2023-10-31 at 5.15.31 PM.png

Screenshot 2023-10-31 at 5.16.34 PM.png

Flow Control: Call and Response (Handshaking)

Screenshot 2023-10-31 at 5.26.08 PM.png

Question: How a closed p5.js effect a running arduino?