CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Bulk Transfer WinAPP

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
MrNiceGuy
Guest







Bulk Transfer WinAPP
PostPosted: Sat Mar 28, 2009 11:59 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group