NicoHood / HID

Bring enhanced HID functions to your Arduino!
http://www.nicohood.de
MIT License
2.33k stars 401 forks source link

RawHID not working #426

Closed khanxbahria closed 10 months ago

khanxbahria commented 10 months ago

For some reason calling RawHID.available() in code results in Failed Enumeration and the whole device being unrecognized. I've also tested using the given example code: https://github.com/NicoHood/HID/blob/master/examples/RawHID/RawHID/RawHID.ino However, removing the code in loop block, the code in setup() block works fine. image image

khanxbahria commented 10 months ago

I figured RawHID only works with the buffer of size <= 64 bytes as mentioned in the wiki.