Skip to content
Permalink
Browse files

Pin order correction (#662)

  • Loading branch information
srg74 committed Feb 6, 2020
1 parent fa7092c commit ca1f25ecf6abc9412679d60cc4c320cabf0bc61a
Showing with 4 additions and 4 deletions.
  1. +1 −1 platformio.ini
  2. +3 −3 usermods/Enclosure_with_OLED_temp_ESP07/wled06_usermod.ino
@@ -51,7 +51,7 @@ lib_deps_external =
https://github.com/crankyoldgit/IRremoteESP8266.git
#Time@1.5
#Timezone@1.2.1
#For use SSD1306 0.91" OLED display uncomment following
#For use SSD1306 OLED display uncomment following
#U8g2@~2.27.2
#For Dallas sensor uncomment following 2 lines
#DallasTemperature@~3.8.0
@@ -5,7 +5,7 @@
#define U8X8_PIN_SCL 5
#define U8X8_PIN_SDA 4
// Dallas sensor
OneWire oneWire(12);
OneWire oneWire(13);
DallasTemperature sensor(&oneWire);
long temptimer = millis();
long lastMeasure = 0;
@@ -16,9 +16,9 @@ long lastMeasure = 0;
// https://github.com/olikraus/u8g2/wiki/u8x8setupcpp
// or check the gallery:
// https://github.com/olikraus/u8g2/wiki/gallery
// --> First choise of cheap I2C OLED 128X32
// --> First choise of cheap I2C OLED 128X32 0.91"
U8X8_SSD1306_128X32_UNIVISION_HW_I2C u8x8(U8X8_PIN_NONE, U8X8_PIN_SCL, U8X8_PIN_SDA); // Pins are Reset, SCL, SDA
// --> Second choise of cheap I2C OLED 128X64
// --> Second choise of cheap I2C OLED 128X64 0.96" or 1.3"
//U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(U8X8_PIN_NONE, U8X8_PIN_SCL, U8X8_PIN_SDA); // Pins are Reset, SCL, SDA
// gets called once at boot. Do all initialization that doesn't depend on
// network here

0 comments on commit ca1f25e

Please sign in to comment.
You can’t perform that action at this time.