aboutsummaryrefslogtreecommitdiff
path: root/examples/blink/blink.c
blob: 8386d4b65c54bae37cc445a468e71484b607eade (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_B3);

    while (1) {
        io_hight(IO_B3);
        _delay_ms(500);
        io_low(IO_B3);
        _delay_ms(500);
    }
}