We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c052b9 commit f4fec86Copy full SHA for f4fec86
libraries/USB/examples/USBVendor/USBVendor.ino
@@ -164,6 +164,7 @@ void setup() {
164
165
USB.onEvent(usbEventCallback);
166
USB.webUSB(true);
167
+ // Set the URL for your WebUSB landing page
168
USB.webUSBURL("https://docs.espressif.com/projects/arduino-esp32/en/latest/_static/webusb.html");
169
USB.begin();
170
}
libraries/USB/examples/USBVendor/index.html
@@ -1,5 +1,10 @@
1
<!-- Based on https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/usb/webusb -->
2
3
+<!--
4
+ Example of WebUSB web page to communicate with a USB device.
5
+ This can be used as a starting point for your self-hosted WebUSB landing page.
6
+-->
7
+
8
<!DOCTYPE html>
9
<html lang="en">
10
<head>
0 commit comments