ATMEGA

# ATmega Header Inclusions

 Date Published: September 14, 2011 Last Modified: December 15, 2018

Include files that contains functions that are used by your code. Use double quotation marks (“) around files that are in the same directory structure as your code, and use greater than, less than symbols for files that are in the default win-avr directory. e.g.

Included file is in the same directory structure as your code

#include "filename.h"

Included file is in the dafault win-avr directory structure

#include <filename.h>

Some of the recommended files to include in your code when using ATmega architecture microcontrollers are:

#include <stdio.h>
#include <stdint.h>
#include <avr/io.h>
#include <avr/interupt.h>