This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HID USB

Hi.
I too have some question for HID USB demo example project for LPC2148 MCU.
Demo application work good but:
if don't change any code then firmware still send GetReport (button state).
In my code if send SetReport then show Led (on or off) and if use GetReport then read button state. but still receive GetReport events.
but if add to ReportDescriptor constant for ReportID then stop it , no automatic send GetReport.
this is not my problem (of course I need to know why to do it).

but now I need to know how to make interrupt with button and firmware send GetReport to PC with out of request form PC. I don't want every cycle time control if is change button state.
there must be some function , whee I set report ID and fill buffer with data and execute code .
and on PC I detect events.
what is that function???
I want create small USB RFID reader. if read card then automatic send events to PC so card is read. now I must repeated demand that the card was loaded or not

best regards

0