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.
2 parents df0cc26 + 04c824f commit 6d5badcCopy full SHA for 6d5badc
PyPortal_EZ_Make_Oven/code.py
@@ -77,7 +77,6 @@ def play(self, duration=0.1):
77
# otherwise, use refresh() in loop to turn off long beep
78
time.sleep(duration)
79
self.stop()
80
- print("play", duration, self.start)
81
82
def stop(self):
83
if pyportal._speaker_enable.value:
@@ -101,7 +100,7 @@ def __init__(self, pin):
101
100
with open("/profiles/" + self.config["profile"] + ".json", mode="r") as fpr:
102
self.sprofile = json.load(fpr)
103
fpr.close()
104
- i2c = busio.I2C(board.SCL, board. SDA, frequency=200000)
+ i2c = busio.I2C(board.SCL, board.SDA, frequency=200000)
105
try:
106
self.sensor = MCP9600(i2c, self.config["sensor_address"], "K")
107
except ValueError:
0 commit comments