HID Report for custom hardware
Posted: Thu May 16, 2013 12:49 pm
Hello,
I build a hardware with:
- 4 LEDs
- 4 Buttons
- 1 Rot Encoder
I already tried some of the examples and it worked well. But I have difficulties to understand the HID Report thing. Is it possible to handle input and output at the same time?
- What is the best way to build a HID Report for my hardware?
- What is the advantage using usbFunctionRead? Did I understand right that this is an alternative to sending data with usbSetInterrupt?
- I frequently call usbPoll(), and checking usbInterruptIsReady. Is it correct that usbInterruptIsReady returns true only one time when I do not call usbSetInterrupt after it?
Stefan
I build a hardware with:
- 4 LEDs
- 4 Buttons
- 1 Rot Encoder
I already tried some of the examples and it worked well. But I have difficulties to understand the HID Report thing. Is it possible to handle input and output at the same time?
- What is the best way to build a HID Report for my hardware?
- What is the advantage using usbFunctionRead? Did I understand right that this is an alternative to sending data with usbSetInterrupt?
- I frequently call usbPoll(), and checking usbInterruptIsReady. Is it correct that usbInterruptIsReady returns true only one time when I do not call usbSetInterrupt after it?
Stefan