We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b07ba6 commit 00e455fCopy full SHA for 00e455f
1 file changed
MEMENTO/Memento_IOT_Doorbell/code.py
@@ -89,16 +89,16 @@ def capture_send_image():
89
# Wait until the doorbell is pressed
90
if not pin_button.value:
91
print("Doorbell pressed!")
92
-
+
93
# Turn the doorbell LED off to signal that it has been pressed
94
led.value = False
95
96
# Play a doorbell tone using the speaker
97
pycam.tone(95, 0.5)
98
pycam.tone(70, 0.5)
99
100
capture_send_image()
101
102
print("DONE, waiting for next press..")
103
104
# Turn the LED on to signal that the doorbell is ready to be pressed again
0 commit comments