hello i made a device with a esp8266-12e on NodeMCU months ago
and i plugged a buzzer on pin SD3 (gpio 10)
it used to work without problems
but today i updated the firmware with the new version of Arduino IDE and new libraries and...
buzzer doesnt work anymore
i tried also on another nodemcu device (same model) and another buzzer -> same issue.
what's goin on?
why this used to work until yesterday?
thanks
io 10 is used for QIO (quad IO) SPI communication with the flash memory. in some configuration the esp8266 can work as DIO (dual IO) and io 10 is free. (and one more pin). I don't know more. Try to set DIO for compilation and/or flashing.
ok thanks
but i can't select flash mode for this board (nodemcu 1.0 - esp8266-12e)
i can change it only with esp8266 generic board
Juraj:
io 10 is used for QIO (quad IO) SPI communication with the flash memory. in some configuration the esp8266 can work as DIO (dual IO) and io 10 is free. (and one more pin). I don't know more. Try to set DIO for compilation and/or flashing.
it turned out
that the problem was to downgrade the board esp8266 from the last (2.4.2) to the previous 2.4.1
komarek:
it turned out
that the problem was to downgrade the board esp8266 from the last (2.4.2) to the previous 2.4.1
How do you set the flash mode in Tools menu. QIO or DIO?
2.4.1 has memory leak in WiFiClient
Juraj:
How do you set the flash mode in Tools menu. QIO or DIO?
2.4.1 has memory leak in WiFiClient
unfortunately in tools menu i can't set the flash mode (when i select the nodemcu esp8266-12e board)
there is no FLASH MODE menu at all
komarek:
unfortunately in tools menu i can't set the flash mode (when i select the nodemcu esp8266-12e board)
there is no FLASH MODE menu at all
in both version in board.txt is
nodemcuv2.build.flash_mode=dio
Juraj:
in both version in board.txt is
nodemcuv2.build.flash_mode=dio
unfortunately i can't find the board.txt file for esp8266
komarek:
unfortunately i can't find the board.txt file for esp8266
it is DIO so not important
Juraj:
it is DIO so not important
i see
so
why the 2.4.2 is not working with gpio 10 in output?