Add Adv Flash with Start Baud on 9600

This commit is contained in:
joBr99
2022-12-17 23:34:52 +01:00
committed by GitHub
parent a5791abd66
commit 0017052a6f

View File

@@ -389,8 +389,13 @@ def flash_nextion_adv(cmd, idx, payload, payload_json)
elif idx==5
nextion.flash_proto_version = 0
nextion.flash_proto_baud = 256000
elif idx==6
nextion.ser.deinit()
nextion.ser = serial(17, 16, 9600, serial.SERIAL_8N1)
nextion.flash_proto_version = 0
nextion.flash_proto_baud = 921600
else
nextion.flash_proto_version = 0
nextion.flash_proto_version = 0
nextion.flash_proto_baud = 115200
end