Пример #1
0
async def debugLCD():
    humidity, temperature = await poll_once()
    update_LCD("{:.2f}% {:.2f} C".format(humidity, temperature))
    print("k")
Пример #2
0
def _end_msg():
    time.sleep(2)
    setReady()
    update_LCD("Napracowane :D")
    time.sleep(10)
    setOff()
Пример #3
0
from hardware.led import *
from hardware.lcd.driver import update_LCD
from hardware.servo import left_rotate, right_rotate
import time
#setOff()

setInProgress()
update_LCD("Prosze czekac,pracuje :)")
time.sleep(1)
right_rotate()

time.sleep(2)
setReady()
update_LCD("Napracowane :D")
time.sleep(10)
setOff()
Пример #4
0
def _initial_msg():
    setInProgress()
    update_LCD("Prosze czekac,pracuje :)")
    time.sleep(1)
Пример #5
0
from hardware.lcd.driver import update_LCD

update_LCD("Nie bedzie :(")