USB HID LEDs #15493
Unanswered
oldgraydev
asked this question in
Using MicroPython
USB HID LEDs
#15493
Replies: 1 comment 1 reply
-
I've traced this back to |
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'm want to follow the state of the Caps Lock LED using the great new USB support. I've modded-up a minimal script and HID descriptor with a toggle switch-type OOC that half-works. My script sees all of the off-to-on transitions, but none of the on-to-off ones. All the documentation and examples I've found imply this should work. What might I be doing wrong?
It's exactly the same on a Wio Terminal (SEEED_WIO_TERMINAL-20240602-v1.23.0.uf2) and Raspberry Pi Pico (RPI_PICO-20240602-v1.23.0.uf2).
Code:
Run with
mpremote run capslockled.py
followed bympremote
to reconnect the console. Runtime output:Beta Was this translation helpful? Give feedback.
All reactions