Skip to content

Commit eef3bf7

Browse files
committed
clean up
1 parent 9dda972 commit eef3bf7

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

examples/WebUSB/webusb_rgb/webusb_rgb.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
any redistribution
1010
*********************************************************************/
1111

12-
/* This sketch demonstrates WebUSB as web serial with Chrome browser.
13-
* After enumerated successfully, Chrome will pop-up notification
12+
/* This sketch demonstrates WebUSB as web serial with browser with WebUSB support (e.g Chrome).
13+
* After enumerated successfully, Browser will pop-up notification
1414
* with URL to landing page, click on it to test
15-
* - Click "Connect" and select device, When connected the on-board LED will litted up.
16-
* - Any charaters received from either webusb/Serial will be echo back to webusb and Serial
15+
* - Click "Connect" and select device, When connected the neopixel LED will change color to Green.
16+
* - When received color from browser in format '#RRGGBB', device will change the color of neopixel accordingly
1717
*
1818
* Note:
1919
* - The WebUSB landing page notification is currently disabled in Chrome
2020
* on Windows due to Chromium issue 656702 (https://crbug.com/656702). You have to
21-
* go to https://adafruit.github.io/Adafruit_TinyUSB_Arduino/examples/webusb-serial to test
21+
* go to landing page (below) to test
2222
*
2323
* - On Windows 7 and prior: You need to use Zadig tool to manually bind the
2424
* WebUSB interface with the WinUSB driver for Chrome to access. From windows 8 and 10, this
@@ -34,7 +34,7 @@
3434
#ifdef PIN_NEOPIXEL
3535
#define PIN PIN_NEOPIXEL
3636
#else
37-
#define PIN 6
37+
#define PIN 8
3838
#endif
3939

4040
// How many NeoPixels are attached to the Arduino?

examples/WebUSB/webusb_serial/webusb_serial.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
any redistribution
1010
*********************************************************************/
1111

12-
/* This sketch demonstrates WebUSB as web serial with Chrome browser.
13-
* After enumerated successfully, Chrome will pop-up notification
12+
/* This sketch demonstrates WebUSB as web serial with browser with WebUSB support (e.g Chrome).
13+
* After enumerated successfully, Browser will pop-up notification
1414
* with URL to landing page, click on it to test
1515
* - Click "Connect" and select device, When connected the on-board LED will litted up.
16-
* - Any charaters received from either webusb/Serial will be echo back to webusb and Serial
16+
* - Any charters received from either webusb/Serial will be echo back to webusb and Serial
1717
*
1818
* Note:
1919
* - The WebUSB landing page notification is currently disabled in Chrome
2020
* on Windows due to Chromium issue 656702 (https://crbug.com/656702). You have to
21-
* go to https://adafruit.github.io/Adafruit_TinyUSB_Arduino/examples/webusb-serial to test
21+
* go to landing page (below) to test
2222
*
2323
* - On Windows 7 and prior: You need to use Zadig tool to manually bind the
2424
* WebUSB interface with the WinUSB driver for Chrome to access. From windows 8 and 10, this

0 commit comments

Comments
 (0)