privatize methods

This commit is contained in:
Ronald Schaten 2016-04-11 00:22:29 +02:00
parent 063206dec0
commit aed5ff152b

View File

@ -14,8 +14,6 @@ class DeviceLed : public Device {
virtual void setup();
virtual void homieRegister();
virtual void loop();
bool ledOnHandler(String value);
bool ledColorHandler(String message);
private:
byte pinRed;
byte pinGreen;
@ -23,6 +21,8 @@ class DeviceLed : public Device {
int led_red = 0;
int led_green = 0;
int led_blue = 0;
bool ledOnHandler(String value);
bool ledColorHandler(String message);
HomieNode ledNode{"led", "rgb"};
};