2023-06-28 02:04 AM
I soldered all the components to the PCB, then I was able to successfully upload the code to the microcontroller it is a simple program where I send every 2 seconds the key '4', simulating a keyboard. But when I connect my PCB to the computer, the computer sees it as a mouse and not as a keyboard, and instead of receiving the key '4' it moves the cursor every 2 seconds down.
If someone knows what could be my problem it will be really helpful
Thxs in advance.
2023-06-28 04:33 AM
Wrong HID device and report descriptors.
2023-06-28 05:53 AM
But I'm using the same code in a blue pill, and it works fine