kuukar-rpi/lcd_cli.py

16 lines
367 B
Python
Raw Normal View History

2022-11-03 16:49:34 +00:00
import sys
2022-11-04 04:58:20 +00:00
import time
2022-11-03 16:49:34 +00:00
import kuukar.kuukar_lcd as kuukar_lcd
from time import sleep
2022-11-04 04:58:20 +00:00
lcd = kuukar_lcd.lcd(None, None)
lcd.nextion.send_command("volume=100")
2022-11-03 16:49:34 +00:00
while True:
2022-11-04 04:58:20 +00:00
lcd.play_video("keke_hurt")
time.sleep(1.5)
# print("Project KuuKar LCD Device Command Line Interface")
# while True:
# cmd = input("kuukar_lcd$ ")
# lcd.nextion.send_command(cmd)