|
@@ -62,7 +62,11 @@ key_C = BUTTON(13)
|
|
|
key_D = BUTTON(7)
|
|
|
|
|
|
image.load_freetype("/root/preset/fonts/CascadiaCodePL-Italic.ttf")
|
|
|
-camera.camera.config(size=(240,320))
|
|
|
+
|
|
|
+if cameraSize==True:
|
|
|
+ camera.camera.config(size=(320,240))
|
|
|
+else:
|
|
|
+ camera.camera.config(size=(240,320))
|
|
|
|
|
|
def getWifiConnectState():
|
|
|
cmd = "wifi_get_connection_info_test 1"
|