Hi,

Originally Posted by
keymuu
I do not know how many times you have to call USBINIT before you hear that ding-dong sound. Do you know that?
this can vary. I will reply tomorrow with a good example of how to do this unless somebody else replies first but for now look up posts from Darrell Taylor regarding the USB stuff as a hint.
I would need to disconnect (hear the dong-ding sound) from my application, without unplugging the cable. How is that possible?
Try:
Code:
UCON.3 = 0 ' UCON register bit 3 (USBEN) enables/disables
' the USB - see page 164 18F4550 datasheeet
Hope this helps in the mean time
Cheers
Rob
Bookmarks