make handler functions public
This commit is contained in:
parent
7169be9882
commit
6d0cf8f786
@ -12,6 +12,9 @@ class DeviceLed : public Device {
|
||||
virtual void deviceSetup();
|
||||
virtual void deviceRegister();
|
||||
virtual void deviceLoop();
|
||||
bool ledOnHandler(String value);
|
||||
bool ledBrightnessHandler(String message);
|
||||
bool ledFadeHandler(String message);
|
||||
private:
|
||||
byte pinLed;
|
||||
char* nameLed;
|
||||
@ -23,8 +26,5 @@ class DeviceLed : public Device {
|
||||
float progress_last = 0;
|
||||
void setLed(int value);
|
||||
void publishStatus();
|
||||
bool ledOnHandler(String value);
|
||||
bool ledBrightnessHandler(String message);
|
||||
bool ledFadeHandler(String message);
|
||||
HomieNode ledNode;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user