FactoryModeLocation_WIFI_label.set_pos(50, 100)
FactoryModeLocation_WIFI_label.set_style_text_color(lv.color_make(0xff, 0xff, 0xff), lv.STATE.DEFAULT)
FactoryModeLocation_WIFI_label.add_style(style_font_youyuan_20, lv.PART.MAIN | lv.STATE.DEFAULT)
+import atcmd
+
class FactoryModeAlipayInitScreen(Screen):
NAME = "FactoryModeAlipayInit"
def __init__(self):
print("id2_clean_data:ret:{}".format(ret))
def post_processor_after_initialization(self):
- utime.sleep(3)
+ resp=bytearray(50)
+ atcmd.sendSync('AT+RSTSET\r\n',resp,'',200) #清nv
+ print("AT+RSTSET:{}".format(resp))
+ utime.sleep(5)
Power.powerRestart()
def Close(self):
pass