work20240326-01
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
object_page http://www.yama-lab.org/fwb4pi/index.php?work20240326-01 or http://www.yama-lab.org/fwb4pi/index.php?work20240326-01
device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
command: set read_interval=20000
command: set exec_interval=0
command: set report_length=10
command: py test
py: #
py: from machine import Pin, I2C
py: import time
py: i2c= I2C(0, sda=Pin(0), scl=Pin(1), freq = 10000)
py: bme=BME280(i2c=i2c)
py: v=bme.values[0]
py: line="device=temp, Date="+self.Pico_Time.get_now()+", v="+v
py: self.write_line(line)
py: self.send_result()
command: end test
command: run test
result:
device=temp, Date=2024/05/29 18:11:20, v=23.49C
device=temp, Date=2024/05/29 18:11:40, v=23.37C
device=temp, Date=2024/05/30 11:41:41, v=20.68C
device=temp, Date=2024/05/30 11:42:01, v=25.27C
device=temp, Date=2024/05/30 11:42:21, v=25.16C
device=temp, Date=2024/05/30 11:42:41, v=25.16C
device=temp, Date=2024/05/30 11:43:01, v=25.19C
device=temp, Date=2024/05/30 11:43:21, v=25.19C
device=temp, Date=2024/05/30 11:43:41, v=25.25C
device=temp, Date=2024/05/30 11:44:01, v=25.29C
current_device="yama_pico_0000_0000_0000_0001". Date=2024/05/30 11:44:05
終了行:
object_page http://www.yama-lab.org/fwb4pi/index.php?work20240326-01 or http://www.yama-lab.org/fwb4pi/index.php?work20240326-01
device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
command: set read_interval=20000
command: set exec_interval=0
command: set report_length=10
command: py test
py: #
py: from machine import Pin, I2C
py: import time
py: i2c= I2C(0, sda=Pin(0), scl=Pin(1), freq = 10000)
py: bme=BME280(i2c=i2c)
py: v=bme.values[0]
py: line="device=temp, Date="+self.Pico_Time.get_now()+", v="+v
py: self.write_line(line)
py: self.send_result()
command: end test
command: run test
result:
device=temp, Date=2024/05/29 18:11:20, v=23.49C
device=temp, Date=2024/05/29 18:11:40, v=23.37C
device=temp, Date=2024/05/30 11:41:41, v=20.68C
device=temp, Date=2024/05/30 11:42:01, v=25.27C
device=temp, Date=2024/05/30 11:42:21, v=25.16C
device=temp, Date=2024/05/30 11:42:41, v=25.16C
device=temp, Date=2024/05/30 11:43:01, v=25.19C
device=temp, Date=2024/05/30 11:43:21, v=25.19C
device=temp, Date=2024/05/30 11:43:41, v=25.25C
device=temp, Date=2024/05/30 11:44:01, v=25.29C
current_device="yama_pico_0000_0000_0000_0001". Date=2024/05/30 11:44:05
ページ名: