Kã§ãã Pythonãã²ã¼ã ã§å¦ã¹ãã³ã¼ãã¬ã¼ã«ããããããããã¬ã¤ãã¦ãããã datetimeã¢ã¸ã¥ã¼ã«ã使ç¨ãã¦ç¾å¨ã®è¥¿æ¦ãåå¾ããåé¡ãã§ã¦ãã¾ããã ãã£ãããã®è¨äºã®ã¹ã±ããã«ç¾å¨æå»ã追å ãã¾ããã -ã¹ã±ãã- import csv from time import sleep from datetime import datetime import Adafruit_DHT sensor = Adafruit_DHT.DHT11 pin = 4 cnt = 0 f = open("data.csv","w") try: while True: humidity, temperature = Adafruit_DHT.read_retry(sensor, pin) time = datetime.now() t = str(temperature) h = str(hum
{{#tags}}- {{label}}
{{/tags}}