Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Two way communication of USB HID through stm32cubemx
no vote
The chip of the board is stm32f103rct6. Using stm32cubemx, the configuration is quite simple: 1. Configure the clock, USB option and pin function, with two LEDs and two buttons. 2. Select the USB function as hid3, configure the clock, and configure the IO port function. In this way, the configuration is completed, and the regeneration project is completed. The whole process is less than 1 minute. Of course, we also need to add the necessary applications in the project: 1_ custom_ hid_ If. C file__ ALIGN_ BEGIN static uint8_ t CUSTOM_ HID_ ReportDesc_ Fs2, in usbd_ custom_ hid_ Int8 in if. C file_ t CUSTOM_ HID_ OutEvent_ FS
checle
2018-07-17
0
1
No more~