You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am working on a school project with an ESP32, I managed to get my OLED: https://ibb.co/yyRmHMz
To work well using U8GLIB_SH1106_128X64 u8g(13, 12, 5, 9, 11); on an Arduino Uno, however it will not run on an ESP32, here is the error:
PC: 0x400d69a0: u8g_GetGlyph at C:\Users\liamd\Documents\Arduino\libraries\U8glib_Arduino-master\src\clib\u8g_font.c line 391
EXCVADDR: 0x40144ad6
Decoding stack results
0x400d69a0: u8g_GetGlyph at C:\Users\liamd\Documents\Arduino\libraries\U8glib_Arduino-master\src\clib\u8g_font.c line 391
0x400d6a82: u8g_draw_glyph at C:\Users\liamd\Documents\Arduino\libraries\U8glib_Arduino-master\src\clib\u8g_font.c line 203
0x400d6dab: u8g_pb8v1_Set8PixelOpt2 at C:\Users\liamd\Documents\Arduino\libraries\U8glib_Arduino-master\src\clib\u8g_pb8v1.c line 127
0x400d6ec1: __analogSetWidth at C:\Users\liamd\AppData\Local\arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32\esp32-hal-adc.c line 43
0x400d6f05: __analogSetCycles at C:\Users\liamd\AppData\Local\arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32\esp32-hal-adc.c line 51
0x400d6912: u8g_font_GetEncoding97Pos at C:\Users\liamd\Documents\Arduino\libraries\U8glib_Arduino-master\src\clib\u8g_font.c line 160
0x400d3c02: _GLOBAL__sub_I__ZN11WiFiAPClass6softAPEPKcS1_iii() at C:\Users\liamd\AppData\Local\arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32/IPAddress.h line 94
0x400dba47: esp_vApplicationIdleHook at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/freertos_hooks.c line 48
0x4008225d: start_cpu0_default at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/cpu_start.c line 367
0x4008246c: call_start_cpu0 at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/cpu_start.c line 238
I adjusted the pin outs in the U8GLIB_SH1106_128X64 u8g(x, x, x, x, x); code to ensure it works with ESP32 pin out. I also tried uploading code to the ESP32 with nothing except the line just mentioned, and it still generated the error.
Thanks in advanced for your help, I really want to use your library because Adafruit is to difficult for me to understand.
I appreciate your help!
The text was updated successfully, but these errors were encountered:
Hi, I am working on a school project with an ESP32, I managed to get my OLED:
https://ibb.co/yyRmHMz
To work well using
U8GLIB_SH1106_128X64 u8g(13, 12, 5, 9, 11);
on an Arduino Uno, however it will not run on an ESP32, here is the error:Raw error:
Decoded:
I adjusted the pin outs in the
U8GLIB_SH1106_128X64 u8g(x, x, x, x, x);
code to ensure it works with ESP32 pin out. I also tried uploading code to the ESP32 with nothing except the line just mentioned, and it still generated the error.Thanks in advanced for your help, I really want to use your library because Adafruit is to difficult for me to understand.
I appreciate your help!
The text was updated successfully, but these errors were encountered: