Hey, Don't think it will be of much use if at all, but there is a mention on the microchip forums how to do mouse and keyboard HID's at the same time, (http://forum.microchip.com/tm.aspx?m=116779). Im trying to pull together lots of usb example coding and articles at the moment for a new website I just setup (www.piccoder.co.uk), would you be interested in writing an article on it when your done, if so just register/login and click submit content. Mat -------------------------------------------- www.piccoder.co.uk Where PIC coders can share code and ideas. -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of andrew kelley Sent: 07 March 2006 13:53 To: Microcontroller discussion list - Public. Subject: [PIC]: 18F USB device code Hi all, I'm curious as to if anyone has usb code that would enumerate as two different devices at the same time or at different times. Yes, the bootloader and my code enumerate at different times, but they are loaded separately from each other. I'm wondering as to how I would disconnect one driver and connect a different one. I'm leafing through the documents to see what would be relevant, but I haven't made a breakthrough yet. If no one has any examples, I'll post mine when I'm finished with it, but an example makes it easier to do. BTW I'm using mchip's framework in c18. -- andrew -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist