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 deviceSetup();
|
||||||
virtual void deviceRegister();
|
virtual void deviceRegister();
|
||||||
virtual void deviceLoop();
|
virtual void deviceLoop();
|
||||||
|
bool ledOnHandler(String value);
|
||||||
|
bool ledBrightnessHandler(String message);
|
||||||
|
bool ledFadeHandler(String message);
|
||||||
private:
|
private:
|
||||||
byte pinLed;
|
byte pinLed;
|
||||||
char* nameLed;
|
char* nameLed;
|
||||||
@ -23,8 +26,5 @@ class DeviceLed : public Device {
|
|||||||
float progress_last = 0;
|
float progress_last = 0;
|
||||||
void setLed(int value);
|
void setLed(int value);
|
||||||
void publishStatus();
|
void publishStatus();
|
||||||
bool ledOnHandler(String value);
|
|
||||||
bool ledBrightnessHandler(String message);
|
|
||||||
bool ledFadeHandler(String message);
|
|
||||||
HomieNode ledNode;
|
HomieNode ledNode;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user