فهرست منبع

fix error in Buttonhandling.ino introduced with last commit

FloKra 1 سال پیش
والد
کامیت
bd9ba198eb
3فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. BIN
      releases/bin/WiFiThermostat.ino.d1_mini.20221125_v0.6.5.bin
  2. BIN
      releases/src/WiFiThermostat_0.6.5.zip
  3. 2 2
      src/Buttonhandling.ino

BIN
releases/bin/WiFiThermostat.ino.d1_mini.20221125_v0.6.5.bin


BIN
releases/src/WiFiThermostat_0.6.5.zip


+ 2 - 2
src/Buttonhandling.ino

@@ -2,8 +2,8 @@
 const unsigned int buttonMaxClickTime = 500;
 const unsigned int buttonMaxClickTime = 500;
 const unsigned int buttonMaxClickTime_2 = 350;     // actual max time a button may be pressed to get detected as short press/click
 const unsigned int buttonMaxClickTime_2 = 350;     // actual max time a button may be pressed to get detected as short press/click
 const unsigned int buttonDebounceTime = 50;
 const unsigned int buttonDebounceTime = 50;
-const unsigned int buttonRepeatTime = 50;
-const unsigned int buttonHoldTime = 50;
+const unsigned int buttonRepeatTime = 350;
+const unsigned int buttonHoldTime = 1000;
 const unsigned int buttonRepeatTime_menuButton = 1000;
 const unsigned int buttonRepeatTime_menuButton = 1000;
 
 
 // Use this function to configure the internal Bounce object to suit you. See the documentation at: https://github.com/thomasfredericks/Bounce2/wiki
 // Use this function to configure the internal Bounce object to suit you. See the documentation at: https://github.com/thomasfredericks/Bounce2/wiki