Skip to content

Commit 745405b

Browse files
committed
lint
1 parent 706fbf4 commit 745405b

File tree

1 file changed

+3
-11
lines changed
  • MEMENTO/Memento_IOT_Doorbell

1 file changed

+3
-11
lines changed

MEMENTO/Memento_IOT_Doorbell/code.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,17 @@
33
# An open-source IoT doorbell with the Adafruit MEMENTO camera and Adafruit IO
44
#
55
# SPDX-License-Identifier: Unlicense
6+
import os
67
import time
8+
import ssl
79
import binascii
810
import digitalio
9-
import bitmaptools
10-
import displayio
11-
import gifio
12-
import pwmio
13-
import ulab.numpy as np
1411
import adafruit_pycamera
15-
import os
1612
import board
17-
import busio
1813
import wifi
19-
import ssl
2014
import socketpool
2115
import adafruit_requests
2216
from adafruit_io.adafruit_io import IO_HTTP, AdafruitIO_RequestError
23-
from adafruit_debouncer import Debouncer
2417

2518
print("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

9991
while 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)

0 commit comments

Comments
 (0)