I've bootloaded my atmega328P with the "atmega328 on a Breadboard (8MHz internal clock)" bootloader but when i try to upload a sketch I get the error:
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I'm using the AVR Pocket Programmer from sparkfun and I know it works because the atmega328p wasnt working before I reburnt the UNO bootloader onto it and now it works fine. But no luck with any other bootloader.
On a semi related note, does PWM work the same at 8MHz? I wanted to skip the external crystal because Im makeing a very simple fading LED device but obviously I may have to re-think it if PWM isn't effective at 8MHz.
ALSO the program isn't terribly time sensitive so accuracy isn't an issue, but does my sketch have to be changed to account for the clock speed change or is that accounted for by the bootloader so that millis() and delay() still act mostly the same?