File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
MEMENTO/Memento_IOT_Doorbell Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 33# An open-source IoT doorbell with the Adafruit MEMENTO camera and Adafruit IO
44#
55# SPDX-License-Identifier: Unlicense
6+ import os
67import time
8+ import ssl
79import binascii
810import digitalio
9- import bitmaptools
10- import displayio
11- import gifio
12- import pwmio
13- import ulab .numpy as np
1411import adafruit_pycamera
15- import os
1612import board
17- import busio
1813import wifi
19- import ssl
2014import socketpool
2115import adafruit_requests
2216from adafruit_io .adafruit_io import IO_HTTP , AdafruitIO_RequestError
23- from adafruit_debouncer import Debouncer
2417
2518print ("CircuitPython Doorbell Camera" )
2619
@@ -93,7 +86,6 @@ def capture_send_image():
9386 print ("DONE, waiting for next press.." )
9487 # Turn the LED on to signal that the doorbell is ready to be pressed again
9588 led .value = True
96-
9789
9890
9991while True :
@@ -106,4 +98,4 @@ def capture_send_image():
10698 pycam .tone (95 , 0.5 )
10799 pycam .tone (70 , 0.5 )
108100 capture_send_image ()
109- time .sleep (0.01 )
101+ time .sleep (0.01 )
You can’t perform that action at this time.
0 commit comments