summaryrefslogtreecommitdiffstats
path: root/main.c
blob: 6784d443bf10fd028cbb7b3c366a719e643fa953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <util/delay.h>

#include "r503.h"

int main(void)
{
	fpm_init();

    for (;;) 
    {	
		fpm_led_on(RED);
		_delay_ms(500);
		fpm_led_off();
		_delay_ms(500);
		fpm_led_on(BLUE);
		_delay_ms(500);
		fpm_led_off();
		_delay_ms(500);
		fpm_led_on(PURPLE);
		_delay_ms(500);
		fpm_led_off();
		_delay_ms(500);
    }

	return 0;
}