Here is the continuation of the manufacture of the lamp for my niece.
I had a discussion with my sister and given that the lamp is for a child, it would be preferable to have an interface that is not exclusively on the phone.
This is why, taking advantage of the usermod preinstalled on the Aircookie .bin, I connected an OLED screen and configured the pins in the WLED preferences.
However, the screen does not turn on.
I restarted the esp8266, tried between 5v and 3.3v, used different GPIOs.
I checked with another same screen.
Maybe the bin i chose isn’t made with alt version of the 4Linedisplay.
How can i see the code of the .bin?
In the meantime I’m trying to set up a custom .bin with rotary and 4linedisplay I get an error message which I haven’t seen yet and google searches aren’t helping much.
This is the message :
Linking .pio\build\nodemcuv2\firmware.elf
c:/users/homepc/.platformio/packages/toolchain-xtensa/bin/…/lib/gcc/xtensa-lx106-elf/10.3.0/…/…/…/…/xtensa-lx106-elf/bin/ld.exe: .pio\build\nodemcuv2\firmware.elf section .text1' will not fit in region iram1_0_seg’
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\nodemcuv2\firmware.elf] Error 1 <
I did what you advised me and (maybe I did it wrong) but nothing changes, still the same error.
I attach my platformio.overide.
Do I need to modify other files (usermodlist?) or platformio is enough?
Hey Srg74, thank you for taking the time to respond.
It seems to me that I have already tried with this bin, precisely on the subject that I posted and nothing happens. The encoder works very well (a few bounces anyway) but the screen does not light up. I will still try to reflash.
Well, I just flashed again with this .bin and it’s the same thing.
The encoder works perfectly but the screen does not light up.
In the settings I see that both usermods are activated.
I tried different pins, different screen types. Here is a screenshot of the settings.