ATMega328P 8MHz internal clock

Hi All

I'm new to Arduino (Atmel) always used Pics (Microchip), there are a few posts on this matter but can't seem to link the info to what I want to do.

I am using Arduino IDE 1.6.7. I have an ATMega328P. I have an Arduino ISP.

I'm not interested in programming the bootloader, I want to just program my sketch onto the ATMega328P and use the internal 8MHz clock.

From what I have read I need to change the fuses but the UNO settings in the boards.txt for IDE 1.6.7 looks different to what I have seen in other peoples explanations. Is there a definition needed at the head of the program to tell the compiler the crystal speed?

Any help would be greatly appreciated.

Thanks

Richard

That definition is in boards.txt, it is translated into F_CPU for the compiler. I think there is a ATmega328P with internal 8MHz already in boards.txt.

If you think that something is different from others, you have to explain it, with numbers and links to others and so on.

This is the fuse calculator : http://www.engbedded.com/fusecalc/

RichardS72: I'm new to Arduino (Atmel) always used Pics (Microchip), there are a few posts on this matter but can't seem to link the info to what I want to do.

Looks like they may be one and the same soon -> http://www.nytimes.com/2016/01/20/business/dealbook/microchip-technology-to-buy-atmel-for-nearly-3-6-billion.html?_r=0