/*
 * defines.h
 *
 *  Created on: Aug 20, 2017
 *      Author: wn
 */

#ifndef DEFINES_H_
#define DEFINES_H_

#define DEBUG



// #define WS2811
#define PL9823

#define NODEMCU
// #define ESP01


#define EEPROM_ADDR 0

#ifdef ESP01
#define CONFIG_SWITCH 0 // Arduino numbering
#endif
#ifdef NODEMCU
#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 16


#endif /* DEFINES_H_ */
