pylint some more
This commit is contained in:
parent
9727c1e55a
commit
54de26ab61
1 changed files with 11 additions and 15 deletions
|
|
@ -3,23 +3,22 @@
|
|||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
"""
|
||||
Show the live camera image on the viewfinder, then upload to adafruit IO when the 'BOOT' button is pressed.
|
||||
Show the live camera image on the viewfinder, then upload to adafruit IO when
|
||||
the 'BOOT' button is pressed.
|
||||
"""
|
||||
|
||||
import esp32_camera
|
||||
from terminalio import FONT
|
||||
import board
|
||||
import displayio
|
||||
import busio
|
||||
import struct
|
||||
import adafruit_requests
|
||||
import wifi
|
||||
import binascii
|
||||
import ssl
|
||||
import socketpool
|
||||
import keypad
|
||||
import struct
|
||||
|
||||
from adafruit_io.adafruit_io import IO_MQTT
|
||||
import adafruit_minimqtt.adafruit_minimqtt as MQTT
|
||||
import board
|
||||
import dotenv
|
||||
import binascii
|
||||
import esp32_camera
|
||||
import keypad
|
||||
import socketpool
|
||||
import wifi
|
||||
|
||||
shutter_button = keypad.Keys((board.BOOT,), value_when_pressed=False)
|
||||
|
||||
|
|
@ -30,9 +29,6 @@ image_feed = "image"
|
|||
|
||||
pool = socketpool.SocketPool(wifi.radio)
|
||||
|
||||
import adafruit_minimqtt.adafruit_minimqtt as MQTT
|
||||
from adafruit_io.adafruit_io import IO_MQTT
|
||||
|
||||
print("Connecting to Adafruit IO")
|
||||
mqtt_client = MQTT.MQTT(
|
||||
broker="io.adafruit.com",
|
||||
|
|
|
|||
Loading…
Reference in a new issue