From 02e50171c67c5f955356dfcbbe35e1baf6fee5b5 Mon Sep 17 00:00:00 2001 From: Johannes Date: Sat, 17 Dec 2022 23:34:52 +0100 Subject: [PATCH] Add Adv Flash with Start Baud on 9600 --- tasmota/autoexec.be | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasmota/autoexec.be b/tasmota/autoexec.be index 1ac9b0ef..0312675e 100644 --- a/tasmota/autoexec.be +++ b/tasmota/autoexec.be @@ -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