• The out of memory could be that you're now sending data faster than the ESP8266 can send it down WiFi! The 'send' function will return control to your code before the data packets have actually left the ESP8266.

    I'd compare the data you get from the 2 bits of code - maybe there is something wrong with my code.

    It could also be that the wrong amount of data is getting sent somehow? That might explain the 'invalid opcode'


Avatar for Gordon @Gordon started