Skip to content

Simple webUSB example

IJon127 edited this page Mar 27, 2022 · 17 revisions

Welcome to the android-components_webUSB wiki!

1.Download the Arduino_webUSB_simpleExample:

https://github.com/ITPNYU/android-components_webUSB/tree/main/webUSB_SimpleExample

2. Download and install the WebUSB library

Download the library from: https://github.com/webusb/arduino
Compress the the WebUSB folder into a .zip file.
InstallLib_step1
Add zip liberary.
InstallLib_step2
If using SAMD-Boards (ex. Nano 33 iot), make sure it’s the version is 1.8.9.
SAMDVersion_step1

SAMDVersion_step2

3.Run the p5 sketch:

https://editor.p5js.org/shawn/full/tQA-v09N_