USBEvent?

Status
Not open for further replies.

MrRobots

Member
Hello,
I have used the 'serialEvent' and it works great.
I am now migrating my project to USB_RAW and was wondering if there is a usbEvent function I may use in a similar manner?
Or is there a <snip> I can glean some usb IRQ from?

Thanks!
 
No, there's no Raw HID "event" like serialEvent.

But really, serialEvent is just checking available() inside yield(). It's *not* based on an interrupt. You could just edit that code. Or just add a check in your loop() function.
 
Status
Not open for further replies.
Back
Top