things4u / ESP-1ch-Gateway

Version 6 of the single channel gateway
MIT License
358 stars 142 forks source link

TTGO Lora OLED doesn't show anything #87

Open Atorcha opened 2 years ago

Atorcha commented 2 years ago

With my TTGO 868/915mhz Model: LORA32 screen is off.

I change pinout to 4 an oled to 1, but it doesn't work.

orimate commented 2 years ago

For which environment "[env:Gateway_38"] did you compile? And exactly which board do you have? You could give a little bit more information.

I use with this chip and this config. [env:Gateway_38] platform = espressif32 board = heltec_wifi_lora_32 framework = arduino build_flags = -D _WIFIMANAGER=0 -D _SPIFFS_FORMAT=0 -D _OLED=1 -D _DUSB=1 -D _PROFILER=1 ; -D _JSONENCODE=1 -D _STRICT_1CH=2 -D _MAXSEEN=10 -D _STAT_LOG=0 ;-D _PIN_OUT=5 ;for TTGO beam ;upload_protocol = espota board_build.flash_mode = qio upload_speed = 256000 ;upload_port = 192.168.2.38

matthew73210 commented 1 year ago

Hey, any luck with this? What ever I set the pin out to, the oled won't work, and i'f I change it in oled.h the thing won't compile at all Cheers

ChristianRoze80 commented 6 months ago

TTGO T3_V1.6.1 doesnt use "OLED_RST" Pin. You can edit "_oLED.h" and comment it out.

elif _PIN_OUT==5 // TTGO with external OLED

define OLED_SCL 22 // GPIO22 / SCL

define OLED_SDA 21 // GPIO21 / SDA

//#define OLED_RST 16 // Reset pin (Some OLED displays do not have it)