Compare commits

...

2 commits

Author SHA1 Message Date
Rahix be764cb7d3 temp: Add more temperature data 2025-08-24 21:40:43 +02:00
Rahix 164f930b6b temp: Toggle pico led as heatbeat
To show that the monitor is alive, blink the onboard LED of the pico.
2025-08-24 21:40:09 +02:00
3 changed files with 18564 additions and 7 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -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}")