mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-25 21:49:42 +02:00
prod/atusb (led): added the LED test
This commit is contained in:
parent
8f20b1fb87
commit
ba6dd86b24
17
prod/atusb
17
prod/atusb
@ -17,8 +17,23 @@ enumerate()
|
|||||||
|
|
||||||
led()
|
led()
|
||||||
{
|
{
|
||||||
|
#
|
||||||
|
# BBBBBBBB CCCCCCCC DDDDDDDD
|
||||||
|
# 01234567 01234567 01234567
|
||||||
|
#
|
||||||
|
# -xxxS-L- -x-----n InMM-S--
|
||||||
|
# T E R RSIO C
|
||||||
|
#
|
||||||
step "LED"
|
step "LED"
|
||||||
todo
|
cmd "echo >/dev/tty; \
|
||||||
|
echo 'Press [P]ass if the LED blinks, [F]ail if not' \
|
||||||
|
>/dev/tty; \
|
||||||
|
atrf-gpio -c -p \
|
||||||
|
xxxxxx1x.xxxxxxxx.xxxxxxxx \
|
||||||
|
delay=50 \
|
||||||
|
xxxxxx0x.xxxxxxxx.xxxxxxxx \
|
||||||
|
delay=200"
|
||||||
|
doit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user