kuukar-rpi/lcd_cli.py

10 lines
233 B
Python

import sys
import kuukar.kuukar_lcd as kuukar_lcd
from time import sleep
lcd = kuukar_lcd.lcd()
print("Project KuuKar LCD Device Command Line Interface")
while True:
cmd = input("kuukar_lcd$ ")
lcd.nextion.send_command(cmd)