Compare commits
No commits in common. "be764cb7d322efe9761557516cccbc8c08f97b2d" and "78c85d3ffe80384287b9ab9de794bc1009b0bd9e" have entirely different histories.
be764cb7d3
...
78c85d3ffe
3 changed files with 7 additions and 18564 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
|
@ -6,8 +6,6 @@ from machine import Pin
|
||||||
|
|
||||||
clock = Pin(2)
|
clock = Pin(2)
|
||||||
data = Pin(4)
|
data = Pin(4)
|
||||||
led = Pin(25, Pin.OUT)
|
|
||||||
led.high()
|
|
||||||
|
|
||||||
ADC_RATE = 40
|
ADC_RATE = 40
|
||||||
|
|
||||||
|
|
@ -52,6 +50,5 @@ while True:
|
||||||
if elapsed >= 200 or elapsed < 0:
|
if elapsed >= 200 or elapsed < 0:
|
||||||
print(f"{temperature:.6f},{temperature_filtered:.6f}")
|
print(f"{temperature:.6f},{temperature_filtered:.6f}")
|
||||||
last_report = now
|
last_report = now
|
||||||
led.toggle()
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error {e}")
|
print(f"Error {e}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue