take over counter handling from old project

This commit is contained in:
2020-07-26 23:33:54 +02:00
parent 0c095c80ac
commit bd885752b4
4 changed files with 53 additions and 19 deletions

View File

@ -1,7 +1,7 @@
/*
* defines.h
*
* Created on: Aug 20, 2017
* Created on: Jul 26, 2020
* Author: wn
*/
@ -12,8 +12,6 @@
// #define WS2811
#define PL9823
#define NODEMCU
// #define ESP01
@ -28,20 +26,8 @@
#define CONFIG_SWITCH D2
#endif
#ifdef WS2811
#define PIXEL_PIN 1 // NODEMCU numbering
#endif
#ifdef PL9823
#ifdef ESP01
#define PIXEL_PIN 2
#endif
#ifdef NODEMCU
#define PIXEL_PIN D1
#endif
#endif
#define NUM_OF_LEDs 300
#define REED_PIN 13
#endif /* DEFINES_H_ */