Comments (9)
@PTS93 feel free to do so, I push an PR for webusb-rgb to control on-board neopixel already, you may want to check that out. My javascript and html already exceed its limit with these 2 examples :D
#23
from adafruit_tinyusb_arduino.
Kind of related, where is the arduino sketch for the existing webusb example?
from adafruit_tinyusb_arduino.
@PTS93 after these 2 PRs
adafruit/Adafruit_nRF52_Arduino#313
#22
starting with nrf first, I will update the samd core later on.
from adafruit_tinyusb_arduino.
please have an example for 3 x PWM output - so we can use https://webusb.github.io/arduino/demos/rgb/
I think it is better to use on-board neopixel which is on most of our feather board. 3 PWM work as well, but it is secondary via compiler switch.
from adafruit_tinyusb_arduino.
OK yes neopixel is good!
from adafruit_tinyusb_arduino.
@PTS93 it is merged to https://github.com/adafruit/Adafruit_TinyUSB_Arduino/tree/master/examples/WebUSB/webusb_serial
from adafruit_tinyusb_arduino.
Awesome! I wanted to make a more elaborate example with the Circuit Playground Express unless there are already plans for something like that?
from adafruit_tinyusb_arduino.
That's helpful, thank you!
My web frontend skills are a bit rusty but I should be able to make something nice.
Do I understand correctly that with webusb you just send buffers back and forth like with raw hid?
That serial.js doesn't look like its doing anything that would be specific to classical UART.
from adafruit_tinyusb_arduino.
@PTS93 webUSB specs actually doesn't say that, it is more like an optional extension. However, this Arduino library did implement the webusb as vendor class driver, and indeed as an subclass of Stream much like Serial for user convenience.
serial.js is only used to discover which interface that is 0xff and their endpoint number. As well as send the 0x22 connect/disconnect event. These aren't part of webusb neither, it is purely part of the this library specific implementation of webusb as stream. Hope that help to clear something up.
from adafruit_tinyusb_arduino.
Related Issues (20)
- Request to add the CH375 Chip USB Host feature HOT 1
- cant verify correctly error: missing Adafruit_USBD_CDC.h file eventhough i have it. HOT 2
- examples/HID/hid_boot_keyboard not working. HOT 1
- Conflicting Types in 3.1.3 HOT 5
- Failed to compile msc_sd example
- Compiler states: SPI header is missing, causing compilation to terminate. HOT 1
- CFG_TUSB_DEBUG=2 Serial deadlock on nRF52840
- "midi_test" does not compile for ESP32S3 HOT 5
- Allow setting of USB Power parameter
- How should I be compatible when encountering unsupported USB devices? For example, a mouse?
- 3.1.3 and 3.1.4 cause delay in enumeration
- My mouse is not working properly in the example of hid_device_report.ino, as it is unable to output data for the scroll wheel
- ESP32-S3: Adafruit_TinyUSB sending garbage / loopback-like traffic on reading only sketch. HOT 2
- Add custom report descriptors HOT 1
- Allow to see progress of file copy HOT 1
- Not working USB HID examples, device is never ready
- USB MSC on Not Attaching Feather ESP32-S3 Reverse TFT HOT 5
- usb host not working with pio-usb v0.6
- USB Host implementation hangs when sending long strings HOT 1
- TinyUSB - RP2040 Compilation Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_tinyusb_arduino.