T-Dongle serial read
-
Trying to get the ESP32-S3 T-Dongle to read serial input. Would be used for simple config issues. Idea is based on tusb_serial_device ESP/idf.py example. Is this possible with the T-Dongle? Would anyone have a bit of sample code?
-
"You can do anything with ESP-IDF if you can just figure it out!"
Are you talking about the T-Dongle sending serial to be read on your computer?
It's very easy to do with Arduino IDE v2.1.0! -
@teastain2 Could you please provide a simple example?
-
@teastain2 Sorry, I mis-read your comment. Yes, it is easy to write to serial to display on the host computer via the idf.py monitor. What I am trying to achieve is to write serial data FROM the idf.py(or Arduino) Monitor to the T-Dongle. This would be, for example, to set a config value on the T-Dongle. The idf.py tusb_serial_device does this with a standard ESP32-S3 DevKit but it does not work with the T-Dongle.
-
@bpupp This is how it is done in Arduino!
https://www.arduino.cc/reference/en/language/functions/communication/serial/read/
Not sure this is helpful, but may give you some insight to convert to ESP-IDF!