MidroomNew Light Sensor

This commit is contained in:
2021-06-23 16:18:51 +03:00
parent 20ae80b7d3
commit c604f290c5
6 changed files with 142 additions and 78 deletions

View File

@@ -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();