ATMEGA

ATmega Header Inclusions

Date Published:
Last Modified:

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>

Tags:

    comments powered by Disqus