您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
|
- #!/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
|