File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 9
9
any redistribution
10
10
*********************************************************************/
11
11
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
14
14
* 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
17
17
*
18
18
* Note:
19
19
* - The WebUSB landing page notification is currently disabled in Chrome
20
20
* 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
22
22
*
23
23
* - On Windows 7 and prior: You need to use Zadig tool to manually bind the
24
24
* WebUSB interface with the WinUSB driver for Chrome to access. From windows 8 and 10, this
34
34
#ifdef PIN_NEOPIXEL
35
35
#define PIN PIN_NEOPIXEL
36
36
#else
37
- #define PIN 6
37
+ #define PIN 8
38
38
#endif
39
39
40
40
// How many NeoPixels are attached to the Arduino?
Original file line number Diff line number Diff line change 9
9
any redistribution
10
10
*********************************************************************/
11
11
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
14
14
* with URL to landing page, click on it to test
15
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
16
+ * - Any charters received from either webusb/Serial will be echo back to webusb and Serial
17
17
*
18
18
* Note:
19
19
* - The WebUSB landing page notification is currently disabled in Chrome
20
20
* 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
22
22
*
23
23
* - On Windows 7 and prior: You need to use Zadig tool to manually bind the
24
24
* WebUSB interface with the WinUSB driver for Chrome to access. From windows 8 and 10, this
You can’t perform that action at this time.
0 commit comments