Add Adv Flash with Start Baud on 9600

This commit is contained in:
Johannes
2022-12-17 23:34:52 +01:00
committed by GitHub
parent 607476b017
commit 02e50171c6

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