summaryrefslogtreecommitdiff
path: root/dice/firmware/main.c
blob: 6b6f6f8d23efe6aace4bb412f2c64e0bf16f8fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <avr/io.h>
#include <util/delay.h>

int main() {
	DDRB |= _BV(DDB3);

	while (1) {
		PORTB |= _BV(PORTB3);
		_delay_ms(500);
		PORTB &= ~_BV(PORTB3);
		_delay_ms(500);
	}
}