From 0017052a6fa1d5a1441845bff1083d1456654752 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> 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