diff --git a/src/main.c b/src/main.c index 89fe62a..fc1adbd 100644 --- a/src/main.c +++ b/src/main.c @@ -10,8 +10,9 @@ //Globals //############################# -#define LED_PIN PB0 - +#define LED_PORT (1<<5) +#define LED_PIN PB5 +#define BLINK_DELAY_MS 5000 //############################# //Prototypes @@ -38,7 +39,6 @@ int main(int argc, char **argv) } - //############################# //FUNCTIONS //############################# @@ -50,12 +50,12 @@ int main(int argc, char **argv) */ void led_blink(void) { //Set the DDR for output. - DDRC |= (1<