This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESP32 compatible
- Loading branch information
Showing
10 changed files
with
176 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
ConfigStatic.h | ||
ConfigStatic.h | ||
ConfigStatic.h-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,6 @@ | ||
#include "EnhancedThread.h" | ||
|
||
void EnhancedThread::run() { | ||
Thread::run(); | ||
if (_runOnce) | ||
Thread::enabled = false; | ||
} | ||
|
||
void EnhancedThread::runIfNeeded(void) { | ||
if(Thread::shouldRun()) | ||
Thread::run(); | ||
} | ||
|
||
void EnhancedThread::reset(void) { | ||
Thread::enabled = true; | ||
Thread::runned(); | ||
} | ||
|
||
void EnhancedThread::setRunOnce(bool runOnce) { | ||
_runOnce = runOnce; | ||
} | ||
unsigned long EnhancedThread::getInterval(void) { | ||
return interval; | ||
} | ||
|
||
//#include "EnhancedThread.h" | ||
/* | ||
* Put everything into the EnhancedThread.h to make it compatible with the ESP32 | ||
* There seems to be a bug in the ArduinoThread lib | ||
* | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,8 @@ class WrapperJsonServer { | |
|
||
uint16_t _ledCount; | ||
uint16_t _tcpPort; | ||
|
||
byte* _activeLedColor; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters