☰
Debian Codegraph
@
2.4-1
/
/
examples
/
copy.c
☽
☼
examples/copy.c
code
plain
raw
symbols
SCIP
MIT
2018 Jithin B.P., CSpark Research <
[email protected]
>
debian/copyright
1
#include
<avr/io.h>
// Include file for I/O operations
2
3
int
main
(
void
)
4
{
5
DDRA
=
0
;
// Port A as Input
6
PORTA
=
255
;
// Enable pullups
7
DDRB
=
255
;
// Configure port B as output
8
9
while
(
1
)
10
{
11
PORTB
=
PINA
;
12
}
13
}