mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-28 07:02:17 +03:00
Меняем unsigned long на long для _interval, для использования
отрицательных значений.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user