Comments (2)
Press and hold the button on the board, then insert USB
from t-dongle-s3.
I have uploaded a sketch that transforms my lilygo ESP32-S3 in a USB keyboard and mouse emulator The sketch works, but I can't upload a new sketch as the serial port is then disabled. How can I erase the sketch or upload a new sketch ? Is it possible to have serial port and USB keyboard and mouse emulator at the same time ? (It's possible with an ardunion leonardo)
#include "USB.h" #include "USBHIDKeyboard.h" #include "USBHIDMouse.h"
USBHIDKeyboard Keyboard; USBHIDMouse Mouse; uint8_t buf[200]; void setup() { // open the serial port: Serial.begin(115200); // initialize control over the keyboard: Keyboard.begin(); Mouse.begin(); USB.begin(); Keyboard._onGetDescriptor(buf); }
void loop() { // check for incoming serial data: if (Serial.available() > 0) {
// read incoming serial data: char inChar = Serial.read(); Serial.print(inChar); // Type the next ASCII value from what you received: Keyboard.press(inChar); Keyboard.releaseAll();
} Mouse.move(20, 20, 0, 0); Keyboard.press('Q'); Keyboard.releaseAll(); delay(3000); }
Hello @francoisnicolas did you find a way to let T-Dongle comunicate with a PC has a keyboard or WebUSB ?
I'm also looking for a simple demo to set communication between the device and a webpage
from t-dongle-s3.
Related Issues (20)
- Card Mount Failed due to ESP_ERR_TIMEOUT HOT 4
- tft_config.py : wrong PIN assignment? HOT 8
- apa102 module not implemented in firmware - potential fix HOT 6
- TFT.ino in example/TFT does not draw to screen HOT 7
- Slow Read Speed
- Factory Code HOT 3
- 0xffffffff invalid header in micropython (T-Dongle keeps disconnecting from port) HOT 7
- Fail to upload factory and default firmware HOT 8
- Can't access SDCard with micropython HOT 3
- Default Factory Firmware no WIFI
- complie ERROR example/esp-idf HOT 1
- compile issue with last esp-idf HOT 1
- converting image to byte array HOT 2
- Upgraded case 3d model HOT 1
- 3D_File. invalid filename
- Header on side HOT 1
- Power the dongle by the QWIIC connector HOT 3
- How can I turn off the LCD? HOT 1
- TFT is not working HOT 6
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 t-dongle-s3.