Меняем unsigned long на long для _interval, для использования

отрицательных значений.
This commit is contained in:
2022-11-04 16:42:30 +03:00
parent 0a787df79f
commit 67c9340f0f
8 changed files with 41 additions and 33 deletions

View File

@@ -12,7 +12,7 @@ class ButtonIn : public IoTItem {
String _pinMode;
int _lastButtonState = LOW;
unsigned long _lastDebounceTime = 0;
unsigned long _debounceDelay = 50;
long _debounceDelay = 50;
int _buttonState;
int _reading;