You are on page 1of 1

/**

* \file
*
* \brief Empty user application template
*
*/
/**
* \mainpage User Application template doxygen documentation
*
* \par Empty user application template
*
* Bare minimum empty user application template
*
* \par Content
*
* -# Include the ASF header files (through asf.h)
* -# Minimal main function that starts with a call to board_init()
* -# "Insert application code here" comment
*
*/
/*
* Include header files for all drivers that have been imported from
* Atmel Software Framework (ASF).
*/
#include <asf.h>
int main (void)
{
board_init();
int x;
DDRB = 255;
while(1)
{
for(x=7;x<=0xE;x=x<<1)
{
PORTB = x;
}
for(x=0x1C;x>=8;x=x>>1)
{
PORTB = x;
}
}
}

You might also like