UIFlow Guide
Changes the angle of all servos every second.
from m5stack import *
from m5ui import *
from uiflow import *
import time
import hat
setScreenColor(0x111111)
hat_puppyC_0 = hat.get(hat.PUPPY)
while True:
hat_puppyC_0.SetAllAngle(0, 90, 180, 0)
wait(1)
hat_puppyC_0.SetAllAngle(90, 180, 0, 90)
wait(1)
wait_ms(2)
hat_puppyC_0.SetAllAngle(0, 0, 0, 0)
hat_puppyC_0.SetAngle(0, 0)