Sonsivri

Electronics => Pic Basic Languages => Topic started by: Nele on September 23, 2008, 10:39:23 22:39



Title: USB Interrupt
Post by: Nele on September 23, 2008, 10:39:23 22:39
Hi,

All USB programs I have done, use this to wait for a byte from PC:

DoUSBIn:
   USBIn 1, USBBuffer, USBBufferSizeRX, DoUSBIn
   Return

The problem is that I have to be waiting in a loop.

Is it possible to use any USB interrupt, like TMR0 interrupt, ...?