Skip to content

Instantly share code, notes, and snippets.

@rossbeazley
Created October 26, 2017 20:14
Show Gist options
  • Save rossbeazley/9f9ca4208c7f6353a9df7f3cb4b9c953 to your computer and use it in GitHub Desktop.
Save rossbeazley/9f9ca4208c7f6353a9df7f3cb4b9c953 to your computer and use it in GitHub Desktop.
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