def stats(): lcd.cls() lcd.locate(0,0) lcd.text(cpu_usage()) lcd.locate(0,1) lcd.text(mem_usage()) lcd.locate(0,2) lcd.text(disk_usage('/')) lcd.locate(0,3) lcd.text(network('wlan7')) lcd.locate(0,4)
def demo(): lcd.locate(0,0) lcd.text("TEST")