Page 1 of 1

PowerSwitch on atmega328p

Posted: Mon Jun 06, 2011 10:06 pm
by sbm
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

Re: PowerSwitch on atmega328p

Posted: Wed Jun 08, 2011 7:48 pm
by sbm
I used the usbdrv directory from the usbasp project and it now works on my atmega328p.