Hi,
I have an question. how to modify port of Micropython for Pyboard v1.1 to make it act as an usb HID device without populating usb CDC. Basically i don't want to see any virtual COM/TTY devices. is there any easy way to do this? I tried to do it by myself, but without success - system wasn't been able to recognise pyboard at all.
Thanks,
ardian
How to make pyboard act as a USB HID device instead of USB CDC
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: How to make pyboard act as a USB HID device instead of USB CDC
See this example.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: How to make pyboard act as a USB HID device instead of USB CDC
Thanks Peter, you beat me to it
Re: How to make pyboard act as a USB HID device instead of USB CDC
Thanks for your replies, but you misunderstood me,
I do not have any problems with sending data over hid. i'm using this code https://pastebin.com/4XpFzxfJ . The thing i want to do is get rid off the virtual com port/tty device from devices list. i Tried to play with [usb.c, usbd_cdc_interface.c, usbd_conf.c, usbd_desc.c] files, but i wasn't able to make it work. the best i've done is disable of the dataflow over this port, but it still were visible in devices list.
Thanks,
Ardian
I do not have any problems with sending data over hid. i'm using this code https://pastebin.com/4XpFzxfJ . The thing i want to do is get rid off the virtual com port/tty device from devices list. i Tried to play with [usb.c, usbd_cdc_interface.c, usbd_conf.c, usbd_desc.c] files, but i wasn't able to make it work. the best i've done is disable of the dataflow over this port, but it still were visible in devices list.
Thanks,
Ardian