Closed twanek closed 4 years ago
ok, after some testing, i figured out, that the example code on the aliexpress site was given for the esp8266 version of this board, not esp32. they say replace "D3" with "5" and "D5" with "4". (if i set in arduino ide board type esp8266, it compiles fine, but if i set esp32 it gives the compilation error)
so, the question is, what should i use instead of D3 and D5 with the esp32 board? (for i2c)
The pin numbers given by the vendor are correct.
I guess the issue is a newer version of gcc, which is a bit more strict regarding "clean" code. Please try File -> Preferences -> Compiler warnings: Default
thanks for the advice, it compiles now! (i do not have access right now to the hw to upload / test, but i think should be ok.
the solution is interesting for me, because i never thought that the compiler warnings in the preferences are actually modify the compilation end process... i thought that, it influences only the message output in the window.
Hi. Well, I have the same problem with ESP32 and Oled (Heltec board). Same warning and error. The solution with "Default" Compiler warnings works perfectly! Thanks schumar! Alex
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
hi!
i try to use this board: https://www.aliexpress.com/item/Wemos-18650-Battery-shield-V3-RaspberryPi-Arduino-Lolin-ESP32-OLED-wemos-for-Arduino-ESP32S-WiFi-Modules/32807898232.html
with this lib, but i've got a compile error:
the only thing i modified in the SSD1306SimpleDemo example is at line 61 replaced D3, D5 with 5, 4 as per seller instruction.
thanks!