

//change the pins here: if you are using a diffrent esp.
#define PIN D0 //Define Neopixel pin
#define Button D3 //Define touch pin
#define LED_COUNT 12 //Define numbers of leds.

//This define, is for the lamp itself. It will define what number the lamp will send to the adafruit IO.
//upload 1 to the first lamp, and then change it to 2 when uploading to the second lamp.
#define LampPart 2 //Change to 1 or 2. 

//get this info from the "My Key" section of the Adafruit IO website
#define IO_USERNAME  "USERNAME"
#define IO_KEY       "KEY"

//Input your WiFi username and password here so the ESP8266 can connect to it
#define WIFI_SSID "SSID"
#define WIFI_PASS "PW"

// ***************************IGNORE ALL BELOW THIS**********************************
#include "AdafruitIO_WiFi.h"
#if defined(USE_AIRLIFT) || defined(ADAFRUIT_METRO_M4_AIRLIFT_LITE) || defined(ADAFRUIT_PYPORTAL)
// Configure the pins used for the ESP32 connection
#if !defined(SPIWIFI_SS) // if the wifi definition isnt in the board variant
// Don't change the names of these #define's! they match the variant ones
#define SPIWIFI SPI
#define SPIWIFI_SS 10 // Chip select pin
#define NINA_ACK 9    // a.k.a BUSY or READY pin
#define NINA_RESETN 6 // Reset pin
#define NINA_GPIO0 -1 // Not connected
#endif
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS, SPIWIFI_SS,NINA_ACK, NINA_RESETN, NINA_GPIO0, &SPIWIFI);
#else
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
#endif
