Ok,

I've finally figured out how to have basic communication between a PIC 18F4550 and the PC using USB and PIC Basic Pro. As the thread says, how do you go about figuring when you are due to issue a USBSERVICE command?

Can I use the generated Assembler file and count how many commands were issued since the previous USBSERVICE?

I was thinking of sprinkling LABELS throughout the sections of code that I want to 'optimize'. That way it would help me identify what assembler commands relate with what basic commands.

Or are things not that easy?

Robert