diff --git a/sysinfo/main.py b/sysinfo/main.py index cb325ae..54e53c4 100644 --- a/sysinfo/main.py +++ b/sysinfo/main.py @@ -3,7 +3,8 @@ ___name___ = "System Info" ___license___ = "MIT" ___dependencies___ = ["sleep", "app", "sim800"] -___categories___ = ["EMF"] +___categories___ = ["EMF", "System"] +___bootstrapped___ = True #import ugfx, os, time, sleep, app, sim800 @@ -37,6 +38,9 @@ else: ugfx.Label(5, 185, 240, 15, simversion) +ugfx.Label(5, 300, 240, 15, "** Hold A or B or MENU to exit **") + + while (not Buttons.is_pressed(Buttons.BTN_A)) and (not Buttons.is_pressed(Buttons.BTN_B)) and (not Buttons.is_pressed(Buttons.BTN_Menu)): ugfx.Label(5, 5, 240, 15, "Temperature (tmp) : {:.2f} C".format(Sensors.get_tmp_temperature()))