Based on https://github.com/openwch/ch32v20x/tree/main/EVT/EXAM/USB/USBFS/HOST_KM
Tested on CH32V203C8T6 ("SUZUNO32RV")
- Connect WCH-LinkE to the MCU.
- Power on
- Connect your USB keyboard to the USBFS port
- Type your keyboard
- Message dumped in UART
CH32V203 Sample code that read the key input of USB Keyboard in Arduino
C
Based on https://github.com/openwch/ch32v20x/tree/main/EVT/EXAM/USB/USBFS/HOST_KM
Tested on CH32V203C8T6 ("SUZUNO32RV")