object_page http://www.yama-lab.org/fwb4pi/index.php?work20240201-01 or http://www.yama-lab.org/fwb4pi/index.php?work20240201-01 device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min. command: set read_interval=15000 command: set exec_interval=0 command: set report_length=10 command: py test py: # py: from machine import Pin py: import time py: led = Pin('LED', Pin.OUT) py: red = Pin(16, Pin.OUT) py: sw01 = Pin(14, Pin.IN, Pin.PULL_UP) py: led.on() py: time.sleep(1.5) py: v=sw01.value() py: if v==0: py: red.on() py: time.sleep(2.0) py: red.off() py: led.off() py: line="device=sw, Date="+self.Pico_Time.get_now()+", v="+str(v) py: self.write_line(line) py: self.send_result() command: end test command: run test result: device=sw, Date=2024/03/02 22:57:40, v=1 device=sw, Date=2024/03/02 23:10:29, v=1 device=sw, Date=2024/03/02 23:10:44, v=1 device=sw, Date=2024/03/02 23:11:01, v=0 device=sw, Date=2024/03/02 23:11:16, v=0 device=sw, Date=2024/03/02 23:12:11, v=1 device=sw, Date=2024/03/02 23:12:28, v=0 device=sw, Date=2024/03/02 23:12:43, v=0 device=sw, Date=2024/03/02 23:12:56, v=1 device=sw, Date=2024/03/02 23:13:11, v=1 current_device="yama_pico_0000_0000_0000_0001". Date=2024/03/02 23:13:16 device=sw, Date=2024/03/02 23:13:26, v=1 current_device="yama_pico_0000_0000_0000_0001". Date=2024/03/02 23:13:31