LightSensor1
objectPage http://www.yama-lab.org/fwb4pi/index.php?LED_and_Button_ex01 or http://www.yama-lab.org/fwb4pi/index.php?LED_and_Button_ex01
device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
command: set readInterval=150000
command: set execInterval=0
command: program LED_and_Button_ex01
program: '
program: ' init gpio
program: ex("pycon", "gpio setup 23 change")
program: ex("pycon", "gpio setup 18 out")
program: '
program: '
program: ex("service","clear sendBuffer")
program: ex("pycon", "gpio output 18 1")
program: delay(60000)
program: ex("pycon", "gpio output 18 0")
program: ex("service","sendResults.")
command: end LED_and_Button_ex01
command: run LED_and_Button_ex01
result:
currentDevice="yamaRasPiDp1_1",Date=2022/7/3/ 11:19:9