Hi there!

PicBasicPro has four usb commands, read, write, init and service. Clean and simple indeed. However, one command is missing, DISCONNECT!
Is it possible to disconnect your current usb session without touching the cable?

When you plug an USB device you hear ding-dong and when you unplug it you hear dong-ding. This quit convenient for the users...

Let's say that you have a cable connected between your PIC and your PC, then you turn on your PIC, in the code first there will be USBINIT and after that you should call quit frequently USBSERVICE and very shortly after this you will hear the ding-dong sound. I do not know how many times you have to call USBINIT before you hear that ding-dong sound. Do you know that?

I would need to disconnect (hear the dong-ding sound) from my application, without unplugging the cable. How is that possible?

I tried skipping the call of USBSERVICE, but that did not do the trick.
I believe that you really have to hear the dong-ding sound before you really can believe that your application has been unplugged/disconnected.

If you can, please help...