ForTest1
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
[[LightSensor1]]
objectPage http://www.yama-lab.org/fwb4pi/index.php?I2CDetect or http://www.yama-lab2.org/dp-1/index.php?I2CDetect
device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
command: set readInterval=15000
command: set execInterval=0
command: program i2cdetect
program: '
program: ex("service","clear sendBuffer")
program: for i=0 to 5
program: for j= 0 to 5
program: if j<>i then ex("service","putSendBuffer "+(i*5+j))
program: next j
program: next i
program: ex("pi4j", "i2c close.")
program: ex("service","sendResults.")
command: end i2cdetect
command: run i2cdetect
result:
1
2
3
4
5
5
7
8
9
10
10
11
13
14
15
15
16
17
19
20
20
21
22
23
25
25
26
27
28
29
currentDevice="",Date=2016/10/27/ 1:21:59
終了行:
[[LightSensor1]]
objectPage http://www.yama-lab.org/fwb4pi/index.php?I2CDetect or http://www.yama-lab2.org/dp-1/index.php?I2CDetect
device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
command: set readInterval=15000
command: set execInterval=0
command: program i2cdetect
program: '
program: ex("service","clear sendBuffer")
program: for i=0 to 5
program: for j= 0 to 5
program: if j<>i then ex("service","putSendBuffer "+(i*5+j))
program: next j
program: next i
program: ex("pi4j", "i2c close.")
program: ex("service","sendResults.")
command: end i2cdetect
command: run i2cdetect
result:
1
2
3
4
5
5
7
8
9
10
10
11
13
14
15
15
16
17
19
20
20
21
22
23
25
25
26
27
28
29
currentDevice="",Date=2016/10/27/ 1:21:59
ページ名: