First commit

This commit is contained in:
2020-08-01 13:47:02 +03:00
commit ac18805ff4
142 changed files with 8325 additions and 0 deletions

21
VT_ESP8266/include/leds.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef __LEDS_H__
#define __LEDS_H__
#include <Arduino.h>
#include <PCF8574.h>
class leds
{
private:
int ledPin;
bool inv, state;
int onMS;
unsigned long curMS;
PCF8574 *_pcf;
public:
leds(PCF8574 *pcf, int ledPin, int onms = 300, bool inverse = false);
//~leds();
void start();
void tick();
};
#endif