PlatformIO Community

This Stock Ticker program works great until I plug in the OLED

This is the program:

It needs some modifications to work, but they’re not connected to the OLED.

When the OLED is unplugged, I get the entire message in Serial and everything is fine.
But when I plug in the OLED, it goes all kerplooey.

The OLED lights up (lotsa noise) and starts the first serial message: “Connecting to IP”, but then I get this:

3fffff20: 3ffe8828 3ffeefb4 0000007f 3ffeefc0
3fffff30: 3ffeefb4 3ffeeab8 3ffef018 3ffeefc0
3fffff40: 3ffeefb4 3ffeeab8 3ffef018 40201264
3fffff50: feefeffe feefeffe feefeffe feefeffe
3fffff60: feefeffe feefeffe 3fff030c 001a001f
3fffff70: 80000000 feefeffe feefeffe feefeffe
3fffff80: 00000000 feefeffe feefeffe feefeffe
3fffff90: feefeffe feefeffe feefeffe 3ffef0b8
3fffffa0: 3fffdad0 00000000 3ffef0a4 40209c88
3fffffb0: feefeffe feefeffe 3ffe85fc 40100c95
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Soft WDT reset

stack>>>

Then it quits paying attention, connects to WiFi and goes on running.
Can you see why the OLED isn’t working right?

This is an ESP 8266.

It’s failing to connect to WiFi.

I made some changes to the display code, and now it doesn’t do the Exception Decoder bit, but it still won’t connect to WiFi.

I rebooted without the OLED, and it still isn’t connecting.

I undid the code changes (I added a GFX font), and it works again until I plug in the OLED. When I unplug the OLED, it goes back to working fine.

I’ve moved it all over the place, but the OLED code is not working, and it ends up back in Exception Decoder mode. I’m exasperated.