Replies: 2 comments 1 reply
-
Oh, I forgot that I took out a USB_SendControl() call as SAMD21 didn't have that, in order to link. Maybe that is what causes the difference. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried adding samd.cpp to my project, but that left me with a non-responsive trinket that could no longer be seen on the port by arduino IDE. A lot of reset-presses, and programming attempts were required to get back to a sane state. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was able to use RawHID.h with my Arduino Pro Micro, and I see a raw hid device on my linux PC when I connect it. Great stuff!
But after switching to Adafruit Trinket M0 device, my PC no longer sees a raw hid device. The code itself builds (arduino ide 1.8.15) and runs on the Trinket M0.
I noticed that my kernel will also complain when I plug in the rawhid trinket m0 with:
config 1 has 2 interfaces, different from the descriptor's value: 3
I wrote up all the details on stackexchange: https://arduino.stackexchange.com/questions/86598/using-trinket-m0-as-a-raw-hid-device
But is there any reason why RawHID would work for an AtMega32U4 device, but not a ATSAMD21 device?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions