Compare commits
2 commits
78c85d3ffe
...
be764cb7d3
Author | SHA1 | Date | |
---|---|---|---|
|
be764cb7d3 | ||
|
164f930b6b |
18551
Misc/Temp-Monitor/20250824-temperature-02.csv
Normal file
18551
Misc/Temp-Monitor/20250824-temperature-02.csv
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -6,6 +6,8 @@ from machine import Pin
|
|||
|
||||
clock = Pin(2)
|
||||
data = Pin(4)
|
||||
led = Pin(25, Pin.OUT)
|
||||
led.high()
|
||||
|
||||
ADC_RATE = 40
|
||||
|
||||
|
@ -50,5 +52,6 @@ while True:
|
|||
if elapsed >= 200 or elapsed < 0:
|
||||
print(f"{temperature:.6f},{temperature_filtered:.6f}")
|
||||
last_report = now
|
||||
led.toggle()
|
||||
except Exception as e:
|
||||
print(f"Error {e}")
|
||||
|
|
Loading…
Reference in a new issue