Sorry Darrel, my mistake, the USB is running under the USB_HANDLER interupt, its my sub routine thats using TMR1 (late at night I posted that lol)
Will try the cap across the pins and see if that remedies the problem as it is a bit of a headache having to remove the LED light unit from where it is to access the pic so I can edit the settings etc.
Edit: just realised, do you mean the 5V to GND of the USB? as on my pcb (and breadboard) I never wired up the 5V as I dont need to use the 5v from the USB so thought better to be safe and not connect it anywhere on the PCB just in case the 2 different 5v sources made things go pop etc! Only pins wired on the PCB side for the usb port are the D+/D- and GND.
Bookmarks