You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
453 B

#include <avr/io.h>
#include "system.h"
#include "led.h"
int main (void)
{
system_init ();
led_init ();
/* TODO: Initialise timer/counter1. */
while (1)
{
/* Turn LED on. */
led_set (LED1, 1);
/* TODO: wait for 500 milliseconds. */
/* Turn LED off. */
led_set (LED1, 0);
/* TODO: wait for 500 milliseconds. */
}
}