I've been working on getting power switch to work on a 328p. I am using usb data pins on Port D pins 2 and 4 with a single output LED on PC5. I am using a 16Mhz crystal. I have a usb boatloader on the chip so know the usb works with the crystal and fuse settings.  I have a feeling it is more than just changing a few pin settings.  Help?
Thanks
			
			
									
									
						PowerSwitch on atmega328p
Re: PowerSwitch on atmega328p
I used the usbdrv directory from the usbasp project and it now works on my atmega328p.