☰
Debian Codegraph
@
5.3.5+repack-1
/
/
microhope
/
microhope-doc
/
prog
/
copy.c
☽
☼
microhope/microhope-doc/prog/copy.c
code
plain
raw
GPL-3
2010-2018 Ajith Kumar B.P <
[email protected]
>
debian/copyright
1
#include <avr/io.h>
2
3
int main (void)
4
{
5
uint8_t val;
6
DDRA = 0; // Data Direction Register
7
DDRB = 1;
8
9
for(;;)
10
{
11
val = PINA;
12
PORTB = val;
13
}
14
}