UIFlow Guide
from m5stack import *
from m5ui import *
from uiflow import *
from base.HDriver import HDriver
import time
hdriver = HDriver()
print((str('Input Voltage: ') + str((hdriver.get_voltage()))))
while True:
print((str('Motor Fault Status: ') + str((hdriver.get_status()))))
hdriver.set_speed(100)
wait(1)
hdriver.set_speed(0)
wait(1)
hdriver.set_speed(-100)
wait(1)
hdriver.set_speed(0)
wait(1)
wait_ms(2)
from base.HDriver import HDriver
hdriver = HDriver()
hdriver.get_status()
hdriver.get_voltage()
hdriver.set_speed(100)