Search found 84 matches

by pagano.paganino
Mon Feb 08, 2021 9:34 am
Forum: General Discussion and Questions
Topic: Multiple Usb HID interface
Replies: 7
Views: 460

Re: Multiple Usb HID interface

chuckbook wrote:
Wed Jan 27, 2021 11:37 am
We are using it on PYBD SW6 to emulate a combination of TOUCH & KEYBOARD. It works perfect.
Can you share an example of hid descriptor and usage with send/recv?

Best regards,
F.
by pagano.paganino
Thu Jan 28, 2021 10:32 am
Forum: General Discussion and Questions
Topic: Multiple Usb HID interface
Replies: 7
Views: 460

Re: Multiple Usb HID interface

Can you share an example of hid descriptor?
by pagano.paganino
Tue Jan 26, 2021 4:16 pm
Forum: General Discussion and Questions
Topic: Multiple Usb HID interface
Replies: 7
Views: 460

Re: Multiple Usb HID interface

chuckbook wrote:
Tue Jan 26, 2021 11:55 am
It can be done using an adequate HID descriptor.
Have you tried or are you assuming it works?
by pagano.paganino
Tue Jan 26, 2021 8:56 am
Forum: General Discussion and Questions
Topic: Multiple Usb HID interface
Replies: 7
Views: 460

Re: Multiple Usb HID interface

Reading the documentation https://www.usb.org/sites/default/files/hid1_11.pdf regarding the usb hid I found that it is possible to declare more reports but specifying a report id. Can this feature be used in micropython? the current implementation of the mouse and keyboard report ignore the report i...
by pagano.paganino
Mon Jan 25, 2021 11:03 am
Forum: General Discussion and Questions
Topic: Multiple Usb HID interface
Replies: 7
Views: 460

Multiple Usb HID interface

Hi falks,
Is possibile to implement multiple usb hid interface? Kayboard + mouse

Thanks and regards,
F.
by pagano.paganino
Thu May 14, 2020 8:34 pm
Forum: Programs, Libraries and Tools
Topic: Bluetooth library for B_L475E_IOT01A1
Replies: 3
Views: 836

Re: Bluetooth library for B_L475E_IOT01A1

Hi,
some time ago I wrote this library: https://github.com/dmazzella/uble

Hope this can Help!
by pagano.paganino
Thu Apr 02, 2020 11:06 pm
Forum: MicroPython pyboard
Topic: ram usage
Replies: 3
Views: 962

Re: ram usage

You can try this: import io import os class DUP(io.IOBase): def __init__(self, s): self.s = s def write(self, data): self.s += data return len(data) def readinto(self, data): return 0 s = bytearray() os.dupterm(DUP(s)) machine.info(1) os.dupterm(None)
by pagano.paganino
Thu Mar 12, 2020 12:05 am
Forum: Pyboard D-series
Topic: SD card not working in D-series
Replies: 11
Views: 4130

Re: SD card not working in D-series

try this:

Code: Select all

pyb.usb_mode('VCP+MSC', msc=(pyb.SDCard(),)) # expose SD card to the PC