Why dont you just use the comparator or the RB pin to detect the voltage drop instead? --- David Novak wrote: > I am using a PIC16C765 for USB communications. Is it > possible, within the > PIC code, to sense when the USB cable has been > disconnected? > > Thanks, > David > > > ============================= > David Novak > Dajac Inc. > 17152 Shadoan Way > Westfield, IN 46074 > > Email: novakd@dajac.com > Phone: 317-258-0223 > Fax: 317-867-1888 > > www.dajac.com > > Hardware/Software Consulting > Headlamp Alignment Equipment > ============================= > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist