parent
507e46da17
commit
6911bf9514
6
main.py
6
main.py
|
@ -1,14 +1,10 @@
|
||||||
from base64 import b16decode
|
from base64 import b16decode
|
||||||
import time
|
import time
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from requests import request
|
|
||||||
try:
|
try:
|
||||||
from rpi_ws281x import *
|
from rpi_ws281x import *
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import json
|
import paho.mqtt.client as mqtt
|
||||||
from argparse import ArgumentParser
|
|
||||||
import paho.mqtt.client as mqtt
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print('Some modules are missing. Try to install them with "pip3 install -r requirements.txt"')
|
print('Some modules are missing. Try to install them with "pip3 install -r requirements.txt"')
|
||||||
exit()
|
exit()
|
||||||
|
|
Loading…
Reference in New Issue