adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
475 stars 126 forks source link

Serial.ignoreFlowControl(true); //disable DTR #460

Open 5b4wn opened 1 week ago

5b4wn commented 1 week ago

Many thanks for this awesome stack.

I understand the following issue has been previously discussed (~2020) but I cant see a solution anywhere.

Occasionally flowControl eg DTR is not set by the software for Serial data transmission and hence the MCU can not transmit the data hence integration cannot occur. Is there a way that FlowControl setting can be added as an option? (as implemented for RPico here https://github.com/earlephilhower/arduino-pico/blob/master/cores/rp2040/SerialUSB.cpp)

Ideally Serial.ignoreFlowControl(true); can disable flowControl

Thanks a million

5b4wn commented 1 week ago

Actually this solves the problem (for the rp2040) : https://github.com/adafruit/Adafruit_TinyUSB_Arduino/pull/459

Thank you...@misaka19465