timer bug fully fixed

This commit is contained in:
Dmitry Borisenko
2020-11-18 13:18:08 +03:00
parent ceb516ddbe
commit b2e9d90686
3 changed files with 19 additions and 10 deletions

View File

@@ -16,8 +16,15 @@ public:
private:
unsigned long _countDownPeriod = 0;
String _key;
bool _start = false;
String _key;
unsigned long currentMillis;
unsigned long prevMillis1;
unsigned long prevMillis2;
unsigned long difference1;
unsigned long difference2;
int sec;
};