ece312/lab_1/main.c
2019-09-23 20:34:06 -06:00

21 lines
231 B
C

#include <avr/io.h>
#include <util/delay.h>
// Set up GPIO here
void pin_setup() {
DDRB |= (1 << DDB3);
}
int main() {
pin_setup();
while (1) {
PORTB ^= (1 << PORTB3);
_delay_ms(500);
}
}