aboutsummaryrefslogtreecommitdiff
path: root/examples/blink/blink.c
blob: a1411e61d966fcf33359dad8b441512ab9b5a63a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <avr/io.h>
#include <util/delay.h>
#include <ioport.h>

int main() {
	io_setout(IO_B0);

	while (1) {
		io_high(IO_B0);
		_delay_ms(500);
		io_low(IO_B0);
		_delay_ms(500);
	}
}