We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f7a13 commit 2d87a13Copy full SHA for 2d87a13
1 file changed
src/main.py
@@ -4,14 +4,13 @@
4
from Thermometer import Thermometer
5
6
def main():
7
- sensor = Sensor()
8
- thermo = Thermometer()
9
- thermo.reset()
10
- power_off = Pin(15, Pin.IN, Pin.PULL_UP)
11
- while power_off.value() != 0:
12
- voltage = sensor.read_sensor_voltage()
13
- thermo.calculate_temps(voltage)
14
+ """
+ Main function to run the thermometer program.
+
+ Function initializes the sensor and thermometer, and continuously reads the temperature until the power off button is pressed.
+ # TODO
+ pass
15
16
if __name__ == "__main__":
17
- main()
+ main()
0 commit comments