25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
-
- # Simple test - assumes LEDs on Pins 0-7.
-
- for i in `seq 0 7`;
- do
- gpio mode $i out
- done
-
- while true;
- do
- for i in `seq 0 7`;
- do
- gpio write $i 1
- sleep 0.1
- done
-
- for i in `seq 0 7`;
- do
- gpio write $i 0
- sleep 0.1
- done
- done
|