Is there a way of getting this to work when using the HID option? I have the code working and displaying the results right away. Thats great. I now want to add the Keyboard.h library so that I can send keystrokes. I have tried using this while in "CDC(generic 'Serial' supersede U(S)ART) mode, but the resulting error says that I need to use the HID option. The other error I get is:ag123 wrote: Tue Dec 28, 2021 12:28 pm Arduino IDE and various serial terminal configures usb-serial with with DTR flag set. This is the normal way in 'old' rs232 serial hardware.
This probably includes all those usb-uart dongles.
These days not every serial terminal app turns on DTR
Code: Select all
STM32_HDSDR_Read_FrequencyMode_TFT_2020_12_21:92:8: error: 'class HardwareSerial' has no member named 'dtr'
92 | Serial.dtr(false);
So when I download the sketch with HID chosen and Serial.dtr(false) commented out, the Keyboard side of it works just fine, but I am unable to connect the software that I am using because I am unable to see the com port (it doesn't show up anywhere, not even in Windows device manager). Any thoughts?