From 8ca86181e4b31efa86a36070adb67652f251785d Mon Sep 17 00:00:00 2001 From: Ser Ko Date: Wed, 19 Feb 2020 19:27:09 -0500 Subject: [PATCH] Updated wled06_usermod.ino User mode file updated for flip display in case of using on WLED Wemos shield --- .vscode/extensions.json | 12 ++++++------ .../wled06_usermod.ino | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 8281e64c..0f0d7401 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,7 +1,7 @@ { - // See http://go.microsoft.com/fwlink/?LinkId=827846 - // for the documentation about the extensions.json format - "recommendations": [ - "platformio.platformio-ide" - ] -} \ No newline at end of file + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "platformio.platformio-ide" + ] +} diff --git a/usermods/Enclosure_with_OLED_temp_ESP07/wled06_usermod.ino b/usermods/Enclosure_with_OLED_temp_ESP07/wled06_usermod.ino index 2c55a952..99d155ca 100644 --- a/usermods/Enclosure_with_OLED_temp_ESP07/wled06_usermod.ino +++ b/usermods/Enclosure_with_OLED_temp_ESP07/wled06_usermod.ino @@ -25,6 +25,7 @@ U8X8_SSD1306_128X32_UNIVISION_HW_I2C u8x8(U8X8_PIN_NONE, U8X8_PIN_SCL, U8X8_PIN_ void userSetup() { sensor.begin(); //Start Dallas temperature sensor u8x8.begin(); + //u8x8.setFlipMode(1); //Uncoment if using WLED Wemos shield u8x8.setPowerSave(0); u8x8.setContrast(10); //Contrast setup will help to preserve OLED lifetime. In case OLED need to be brighter increase number up to 255 u8x8.setFont(u8x8_font_chroma48medium8_r);