☰
Debian Codegraph
@
2.4-1
/
/
examples
/
atmega328p
/
blink.py
☽
☼
examples/atmega328p/blink.py
code
plain
raw
symbols
SCIP
MIT
2018 Jithin B.P., CSpark Research <
[email protected]
>
debian/copyright
1
import
time
2
#from kuttyPy import *
3
setReg
(
'DDRB'
,
1
<<
5
)
4
5
for
a in
range
(
5
):
#Run this loop 5 times.
6
setReg
(
'PORTB'
,
1
<<
5
)
7
time.
sleep
(
0.5
)
8
setReg
(
'PORTB'
,
0
)
9
time.
sleep
(
0.5
)