Skip to content

Commit f2e798a

Browse files
committed
Expose WiFi.setLEDs(r, g, b) through AdafruitIO_AIRLIFT class. To allow easy setting of status etc.
1 parent a4e8933 commit f2e798a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/wifi/AdafruitIO_AIRLIFT.h

+13-1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,18 @@ class AdafruitIO_AIRLIFT : public AdafruitIO {
9393
if (_http)
9494
delete _http;
9595
}
96+
97+
98+
/**************************************************************************/
99+
/*!
100+
@brief Allows setting of the AirLift RGB led from the
101+
Adafruit IO AirLift Class
102+
*/
103+
/**************************************************************************/
104+
void setLEDs( int r, int g, int b) {
105+
WiFi.setLEDs( r, g, b);
106+
}
107+
96108

97109
/********************************************************/
98110
/*!
@@ -189,4 +201,4 @@ class AdafruitIO_AIRLIFT : public AdafruitIO {
189201
}
190202
};
191203

192-
#endif // ADAFRUITIO_AIRLIFT_H
204+
#endif // ADAFRUITIO_AIRLIFT_H

0 commit comments

Comments
 (0)