Skip to content

Commit

Permalink
define OLED_DISPLAY_HAS_RST_PIN
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Nov 20, 2024
1 parent 0360085 commit 44605e8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
#else
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#if defined(HELTEC_V3) || defined(HELTEC_WS)
#define OLED_DISPLAY_HAS_RST_PIN
#endif
#ifdef HELTEC_WSL_V3_DISPLAY
Adafruit_SSD1306 display(128, 64, &Wire1, OLED_RST);
#else
Expand Down
1 change: 1 addition & 0 deletions variants/heltec-lora32-v2/board_pinout.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#define OLED_SDA 4
#define OLED_SCL 15
#define OLED_RST 16
#define OLED_DISPLAY_HAS_RST_PIN

// Aditional Config
#define INTERNAL_LED_PIN 25
Expand Down
1 change: 1 addition & 0 deletions variants/heltec_wifi_lora_32_V3/board_pinout.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#define OLED_SDA 17
#define OLED_SCL 18
#define OLED_RST 21
#define OLED_DISPLAY_HAS_RST_PIN

// Aditional Config
#define INTERNAL_LED_PIN 35
Expand Down
1 change: 1 addition & 0 deletions variants/heltec_wireless_stick/board_pinout.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#define OLED_SDA 4
#define OLED_SCL 15
#define OLED_RST 16
#define OLED_DISPLAY_HAS_RST_PIN

// Aditional Config
#define INTERNAL_LED_PIN 35
Expand Down

0 comments on commit 44605e8

Please sign in to comment.