☰
Debian Codegraph
@
2.4-1
/
/
examples
/
atmega32
/
stepper.py
☽
☼
examples/atmega32/stepper.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'
,
255
)
4
5
while
1
:
6
for
x in
range
(
20
):
7
for
a in [
3
,
6
,
12
,
9
]:
8
setReg
(
'PORTB'
, a)
9
time.
sleep
(
0.1
)
10
11
for
x in
range
(
20
):
12
for
a in [
12
,
6
,
3
,
9
]:
13
setReg
(
'PORTB'
, a)
14
time.
sleep
(
0.1
)
15
16
setReg
(
'PORTB'
,
0
)