Daily Shaarli

All links of one day in a single page.

September 5, 2022

GitHub - gohai/p5.webserial: A library for p5.js which adds support for interacting with Serial devices, using the Web Serial API (currently supported on Chrome and Edge).

A library for p5.js which adds support for interacting with Serial devices, using the Web Serial API (currently supported on Chrome and Edge). It provides the following features:

Easy to use API, largely the same as Processing's Serial library
No async/await or callbacks needed in sketches
Can automatically connect to previously-used serial ports (great for installations)
Unicode support (Serial.print("你好"") in Arduino)
Multi-byte matching in readUntil(needle)
Well tested, also works in the p5.js web editor