@ajb2k3 Sure, thanks. Here is the code:
uiflow_block_1716445581066.png
from m5stack import *
from m5ui import *
from uiflow import *
import time
import unit
setScreenColor(0x222222)
earth_0 = unit.get(unit.EARTH, unit.PORTB)
MoistureAnalog = M5TextBox(14, 59, "Analog", lcd.FONT_Ubuntu, 0xFFFFFF, rotate=0)
while True:
MoistureAnalog.setText(str((str('Earth Sensor Analog: ') + str((earth_0.analogValue)))))
wait_ms(500)
wait_ms(2)