7502 shaares
219 private links
219 private links
1 result
tagged
serial
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