#include <asf.h>

// Line PA16 (Pin 24 on YARM-DEV board)
#define MY_LED    IOPORT_CREATE_PIN(IOPORT_PORTA, 16)

int main (void)
{
	system_init();
	ioport_init();
	ioport_set_pin_dir(MY_LED, IOPORT_DIR_OUTPUT);

	for (;;) {
		ioport_set_pin_level(MY_LED, 1);
		delay_s(1);
		ioport_set_pin_level(MY_LED, 0);
		delay_s(1);
	}
}
