MidroomNew Light Sensor
This commit is contained in:
@@ -9,8 +9,9 @@ private:
|
||||
bool inv, state;
|
||||
int onMS;
|
||||
unsigned long curMS;
|
||||
byte bright;
|
||||
public:
|
||||
leds(int ledPin, int onms = 300, bool inverse = false);
|
||||
leds(int ledPin, int onms = 300, byte bright = 255, bool inverse = false);
|
||||
//~leds();
|
||||
void start();
|
||||
void tick();
|
||||
|
||||
Reference in New Issue
Block a user