this is the response about the size question
> print(node.flashsize())
1048576
it's more than 1 Mb .....
Max
Explore... Chat... Share...
Upgrading Firmware
There are three potential issues that arise from upgrading (or downgrading!) firmware from one NodeMCU version to another:
Lua scripts written for one NodeMCU version (like 0.9.x) may not work error-free on a more recent firmware. For example, Espressif changed the socket:send operation to be asynchronous i.e. non-blocking. See API documentation for details.
The NodeMCU flash file system may need to be reformatted, particularly if its address has changed because the new firmware is different in size from the old firmware. If it is not automatically formatted then it should be valid and have the same contents as before the flash operation. You can still run file.format() manually to re-format your flash file system. You will know if you need to do this if your flash files exist but seem empty, or if data cannot be written to new files. However, this should be an exceptional case. Formatting a file system on a large flash device (e.g. the 16MB parts) can take some time. So, on the first boot, you shouldn't get worried if nothing appears to happen for a minute. There's a message printed to console to make you aware of this.
The Espressif SDK Init Data may change between each NodeMCU firmware version, and may need to be erased or reflashed. See SDK Init Data for details. Fully erasing the module before upgrading firmware will avoid this issue.
Check message with https://github.com/me-[…]
I think the line previousState == state; should […]
How to design custom ESP-12E PCB. Typical TCP clie[…]
Also... This is the ESP8266 Arduino forum: yo[…]
Hi, I want to use wemos d1 mini to communicate wit[…]
Hello I have an ESP32 linked up to 1 button and a[…]
You need to provide some information about the rel[…]
Hi. I use the latest esp8266 AT firmware (rtos bas[…]
The difference could be down to the capacitor that[…]
Hi, One of the projects on my list is to build sw[…]
Otherwise: - check the voltage in real life, if th[…]
GPIO16 is different to the other GPIO pins. It do[…]
Hardware: WEMOS D1 mini. Érzékelő: BMP180. Progr[…]
Follow US on Twitter and get ESP8266 news and updates first.