You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
7 years ago | |
---|---|---|
.. | ||
Makefile | 7 years ago | |
README.md | 7 years ago | |
chconf.h | 7 years ago | |
halconf.h | 7 years ago | |
hid_listen.py | 7 years ago | |
main.c | 7 years ago | |
mcuconf.h | 7 years ago | |
usb_hid_debug.c | 7 years ago | |
usb_hid_debug.h | 7 years ago |
README.md
A Teensy-style "debug" channel over USB raw HID
A simple version
This example implements a raw HID device, which is able to send "debug" messages, akin to the original Teensy usb_debug_only example.
This version does not implement the hid debug channel as a class, it simply provides a couple of functions to write to it, Teensy-style.
The version does not implement the flush timer, the output needs to be flushed manually by calling usb_debug_flush_output()
.
It is compatible with the original PJRC's hid_listen program, but a simple python reimplementation is provided (requires the hidapi module, i.e. pip install hidapi
).