Debian Codegraph @

examples/blink-2.c

raw symbols SCIP
1 #include <avr/io.h> // Include file for I/O operations
2
3 extern void delay_ms (uint16_t k);
4
5 int main (void)
6 {
7 DDRB = 255; // Configure port B as output
8
9 while (1)
10 {
11 PORTB = 255;
12 delay_ms(200);
13 PORTB = 0;
14 delay_ms(200);
15 }
16
17 }