Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
964 stars 227 forks source link

when using OLED1306 definition, debug info goes wrong #486

Open jerbo288 opened 2 years ago

jerbo288 commented 2 years ago

first of all, great project. i'm trying to use a 1306 type OLED.
using the default : #define BLUETFT
//#define OLED1306 it all works, debuginfo is working, esp32 webserver is running. , but no display (because no TFT, and no OLED definitions)

when i change the display type to OLED1306 however like : //#define BLUETFT
#define OLED1306

something is going wrong. No idea where. it starts with correct debug output, and than all of a sudden : (I leftest the first lines of the debug info, only the line with the info op gpio17. the next line should say Enable pin 35 for IR _.. D: gpio17 will execute resume D: Ena⸮⸮

and than thing will go quit. sometimes an extra ⸮ ( aprox every 1.5 -2 seconds) scl and sda pins are set as in the pdf (13 and 14). tft pins are disabled .

OLED doesn't give any info. Uncommenting BLEUTFT and commenting OLED1306 (ak reset to default) -> it all works fine. (with no screen)

i tried the OLED with wire, h scan -> returns address, and with demo project and that works, so the OLED is ok.

timo619 commented 2 years ago

Maybe the same problem as https://github.com/Edzelf/ESP32-Radio/issues/112 ? (Last comment)