I am not able to find the method to drive the gripper servo within the hat using UIFlow. There are only 3 methods available in UIFlow:
- Set the wheel pulse
- Set wheels pulse for all wheels
- Set RoverC speed
Thanks.
I am not able to find the method to drive the gripper servo within the hat using UIFlow. There are only 3 methods available in UIFlow:
Thanks.
There is a block at top:
Init timezone [ x ] formatting [ y ]
I know the [ x ] is a number matching my timezone for the GPS, however what should be put in the [ y ]?
The documentation is lacking.
This code worked for me:
from m5stack import *
from m5ui import *
from uiflow import *
import i2c_bus
import hat
setScreenColor(0x030545)
hat_roverc1 = hat.get(hat.ROVERC)
label0 = M5TextBox(57, 6, "RoverC", lcd.FONT_DejaVu40, 0x01e2b1, rotate=90)
i2c0 = i2c_bus.easyI2C(i2c_bus.PORTA, 0x38, freq=400000)
i2c0.write_mem_data(16, 80, i2c_bus.UINT8LE)
I am not able to find the method to drive the gripper servo within the hat using UIFlow. There are only 3 methods available in UIFlow:
Thanks.