MrNiceGuy Guest
|
Bulk Transfer WinAPP |
Posted: Sat Mar 28, 2009 11:59 am |
|
|
Hi Everybody
I wrote an usb bulk transfer code for a 18f2550. It sends a packet of 8 byte size if a variable is greater than 0. On the PC side I use mpusbapi.dll to recieve and send a packet. My question is, how do I wait for a packet and read it?
Should I use an endless loop, and read all the time the buffer ???
How can I detect, that there is data in the buffer ???
Thanks |
|