Update wled06_usermod.ino

This commit is contained in:
srg74 2020-02-23 22:48:58 -05:00 committed by GitHub
parent 9a0db83f83
commit a8e7aa99e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,11 +3,11 @@
#ifdef ARDUINO_ARCH_ESP32 //ESP32 boards #ifdef ARDUINO_ARCH_ESP32 //ESP32 boards
uint8_t SCL_PIN = 22; uint8_t SCL_PIN = 22;
uint8_t SDA_PIN = 21; uint8_t SDA_PIN = 21;
// uint8_t RST_PIN = 16; // Uncoment for Heltec WiFi-Kit-8
OneWire oneWire(23); OneWire oneWire(23);
#else //ESP8266 boards #else //ESP8266 boards
uint8_t SCL_PIN = 5; uint8_t SCL_PIN = 5;
uint8_t SDA_PIN = 4; uint8_t SDA_PIN = 4;
// uint8_t RST_PIN = 16; // Uncoment for Heltec WiFi-Kit-8
OneWire oneWire(13); OneWire oneWire(13);
#endif #endif
//The SCL and SDA pins are defined here. //The SCL and SDA pins are defined here.