Intro to Asynchronous Serial Communications
Serial Input to p5.js Using the p5.webserial Library
Serial Output From p5.js Using the p5.webserial Library