hbc: simple on off
[lra-as-sensor] / hbc.c
1 #include <avr/io.h>
2 #include <avr/interrupt.h>
3
4 #include <stdio.h>
5 #include <stdlib.h>
6
7 #include <util/delay.h>
8
9 int main(void) {
10         
11         
12         DDRB |= (1 << DDB3);
13         PORTB = (1 << PB3);
14
15         while(1) {
16                 _delay_ms(2);
17                 PORTB = 0;
18                 _delay_ms(2);
19                 PORTB = (1 << PB3);
20         }
21
22         return 0;
23
24 }