i'm wanting to program an atmega328p with an arduino mega. All of the tutorials i've seen use the uno. I would also like to use the 8 Mhz internal clock if possible
Anything that runs on an Uno will run on a Mega. You will likely have to change some wiring and pin assignments, though.
This is the best tutorial: Gammon Forum : Electronics : Microprocessors : How to make an Arduino-compatible minimal board
I would also like to use the 8 Mhz internal clock if possible
If you mean on the target ATmega328, that is the factory default for a new chip. But don't forget to unset the factory default divide-by-eight fuse CKDIV8.
The MiniCore core makes it easier to select the 8MHz internal clock (and many other) options. It is what I use along with the Arduino as ISP sketch to bootload and program my stand alone mega328 processors. The GitHub page includes installation instructions.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.