From 29c2881a6e32b5f6e90e47fa65a0bc5378a2cc60 Mon Sep 17 00:00:00 2001 From: Tester23 Date: Mon, 6 May 2024 18:28:57 +0200 Subject: [PATCH] add bz_pin_pin --- BK7231Flasher/TuyaConfig.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BK7231Flasher/TuyaConfig.cs b/BK7231Flasher/TuyaConfig.cs index bb60c66..221aa42 100644 --- a/BK7231Flasher/TuyaConfig.cs +++ b/BK7231Flasher/TuyaConfig.cs @@ -277,6 +277,14 @@ public string getKeysHumanReadable(OBKConfig tg = null) tg.setPinRole(value, PinRole.WifiLED_n); } } + else if (Regex.IsMatch(key, "bz_pin_pin")) + {// https://www.elektroda.com/rtvforum/viewtopic.php?p=21070110#21070110 + desc += "- Buzzer on P" + value + Environment.NewLine; + if (tg != null) + { + //tg.setPinRole(value, PinRole.WifiLED_n); + } + } else if (Regex.IsMatch(key, "status_led_pin")) { desc += "- Status LED on P" + value + Environment.NewLine;