projects
/
pub
/
pl2303-ft232-gpio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Correct and upgrade example files
[pub/pl2303-ft232-gpio.git]
/
examples
/
blink.sh
1
#!/bin/bash
2
GPIOTOOL
=
ft232rgpio
3
GPIOA
=
2
4
GPIOB
=
3
5
while
true
;
do
6
$GPIOTOOL
--
gpio
=
$GPIOA
--
out
0
--
gpio
=
$GPIOB
--
out
0
7
sleep
0.3
8
$GPIOTOOL
--
gpio
=
$GPIOA
--
out
1
9
sleep
0.3
10
$GPIOTOOL
--
gpio
=
$GPIOA
--
out
0
--
gpio
=
$GPIOB
--
out
1
11
sleep
0.3
12
$GPIOTOOL
--
gpio
=
$GPIOA
--
out
1
13
sleep
1
14
done