ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
1.99k stars 637 forks source link

platformio ESP32 loops in boot. #283

Closed loulou4cv closed 4 years ago

loulou4cv commented 4 years ago

Hello,

I have installed library in ArduinoIDE : no problem. I have installed library in VSCode/Platformio : no compilation problem but any access to a display function makes the ESP32 booting permanently.

platformio : up to date, core 4.3.3 with Espressif32 platform 1.12.1 library : 4.1.0

I declared

include

include

include "WiFi.h"

include

include

include

SSD1306Wire display(0X3C, 5, 4);

whatever function is loop-booting the ESP32, even having just display.clear(); in the setup function.

Any idea please ?

loulou4cv commented 4 years ago

Hello,

I have found the problem : I forgot to call display.init(); at setup. Then ESP32 was booting all the time. You can close it. Thank you.

marcelstoer commented 4 years ago

You can close it.

Glad you found the bug yourself.