kupa/kupa2.py

18 lines
280 B
Python
Raw Normal View History

2023-09-11 14:10:06 +00:00
import urllib.request
import threading
import textrender
HTTP_WLED = "http://10.8.0.196/win&LO="
HTTP_OPEN_SIGNAL = "&LO=0"
HTTP_CLOSE_SIGNAL = "&LO=1"
# MAIN LOOP
print("Robimy kupÄ™!")
textrender.render_stub()
#textrender.render_thread_debug("dupa")
print("Koniec kupy!")