ESP8266 NodeMCU Running Out of Heap Memory

There was a problem in the NodeMCU docs with the socket:send example you seem to have based your implementation on. We discussed it and I fixed it. An improved version of your code is this: gpio.mode(3, gpio.OUTPUT) srv = net.createServer(net.TCP, 28800) print(“Server created… \n”) local pinState = 0 srv:listen(80, function(conn) conn:on(“receive”, function(sck, request) local _, … Read more

WeMos (ESP8266) Function While

This ain’t a error message but a standard boot message. To properly answer your question we would need to know what board exactly you use, how you connected your parts (what pins, voltage, etc), what parts and of course the full code. Please remember that the breakout boards for the esp8266 (for example the node … Read more