AnsweredAssumed Answered

Transfer data from PC to STM32 using USB HID

Question asked by Ted NIVAN on Nov 3, 2017

Hi there,


I've developed a USB HID mouse with the STM32F103C8T6 using STM32CubeMX and Keil uVision 5.

Everything works fine so far (I've used the default mouse descriptor generated by CubeMX).


But now, I've added a LED to the mouse and I'd like to turn it on from my PC.


I've already made a python program that turns a LED on connnected to the STM32 through USB HID.

However, I wasn't able to make a whole program that manages both mouse and LED.


  1. Do you know how could I make this work?
  2. How should I define the mouse descriptor to handle the LED?