async def debugLCD(): humidity, temperature = await poll_once() update_LCD("{:.2f}% {:.2f} C".format(humidity, temperature)) print("k")
def _end_msg(): time.sleep(2) setReady() update_LCD("Napracowane :D") time.sleep(10) setOff()
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()
def _initial_msg(): setInProgress() update_LCD("Prosze czekac,pracuje :)") time.sleep(1)
from hardware.lcd.driver import update_LCD update_LCD("Nie bedzie :(")