1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-25 23:31:54 +02:00

prod/atusb (led): added the LED test

This commit is contained in:
Werner Almesberger 2011-06-06 19:58:13 -03:00
parent 8f20b1fb87
commit ba6dd86b24

View File

@ -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
} }