0

TinyUSB - usb_hid.end()
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

TinyUSB - usb_hid.end()

by emtark on Tue Jul 30, 2019 6:56 am

Hi all,

Short snippet from the TinyUSB HID Keyboard example:

Code: Select all | TOGGLE FULL SIZE
void setup()
{
  usb_hid.setPollInterval(2);
  usb_hid.setReportDescriptor(desc_hid_report, sizeof(desc_hid_report));
  usb_hid.setReportCallback(NULL, hid_report_callback);

  usb_hid.begin();
}


Is there a simple method to call which would perform the equivalent usb_hid.end() ? I need to detach and re-attach the USB after waking from standby and I'm not having much luck with my tests.

Thanks in advance!
emtark
 
Posts: 5
Joined: Sat Apr 26, 2014 7:36 am

Re: TinyUSB - usb_hid.end()

by emtark on Wed Aug 28, 2019 7:18 pm

Anyone?

I have also tried outlets like Freelancer to find Arduino/SAM programmers, is there a better alternative that anyone can suggest? I am happy to pay for this code.

emtark.
emtark
 
Posts: 5
Joined: Sat Apr 26, 2014 7:36 am

Re: TinyUSB - usb_hid.end()

by hathach on Wed Sep 11, 2019 12:21 pm

can you open an issue to our github repo.
https://github.com/adafruit/Adafruit_TinyUSB_Arduino

I am currently too busy to implement this.

hathach
 
Posts: 1020
Joined: Tue Apr 23, 2013 1:02 am

Please be positive and constructive with your questions and comments.