PICcoder.co.uk Forum  


::post new topic::
USB Article
Date: 2006/02/28 22:48 By: Mat Status: Admin  
Karma: 7  
Posts: 211
graphgraph
Finally wrote that Usb article ive been meaning to for some time now.

Find it here

Enjoy,
Mat
reply | quote

Re:USB Article
Date: 2006/03/22 13:23 By: apauaie Status: Visitor  
 
Hi,

Can you explain what the counter is for...

if(!mUSBGenTxIsBusy())
USBGenWrite((byte*)&dataPacket,counter);

Thanks
reply | quote

Re:USB Article
Date: 2006/03/22 13:27 By: Mat Status: Admin  
Karma: 7  
Posts: 211
graphgraph
Hey,
The counter is the length of the packet you are about to transmit back.
Mat
reply | quote

::post new topic::