Created
October 26, 2017 20:14
-
-
Save rossbeazley/9f9ca4208c7f6353a9df7f3cb4b9c953 to your computer and use it in GitHub Desktop.
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
class SonoffApplicationShell | |
{ | |
public: | |
SonoffApplicationShell(); | |
void loop(); | |
void debugDump(); | |
private: | |
EEPROMSettings sonoffSettings; | |
GPIORelay relay{12}; | |
SonoffApplicationCore myCore{&relay, true }; | |
SonoffInternalButton internalButton{&myCore}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment