-->
Page 3 of 3

Re: I seem to have blown some memory constraint !

PostPosted: Wed Nov 29, 2017 3:34 am
by MikeyMoMo
I just found out (after looking and not finding it all day, I found it while looking for something else! Ain't it the way?!?!) that there is an ESP32 in a WeMos D1 Mini format. That's exactly what I needed to relieve my memory constraint and keep the physical layout I am using now with the triple backplane. It has double(?) the RAM of the 8266 and should keep me in memory for the rest of my project. HOORAY!

So that takes care of the memory problem, but I still have the compiler problem. I hope someone can tell me why it is blowing up and declaring my routine is not defined because when I add the routine back in, as I would like to do, it will kill me once again.

Half way there Mikey

Re: I seem to have blown some memory constraint !

PostPosted: Wed Nov 29, 2017 8:14 am
by jcmvbkbc
MikeyMoMo wrote:It is certainly not a missing declaration.

It is a missing declaration, specifically the line you're uncommenting (1136) is above the definition of the AppendAndSendHTML (at line 1289). In C++ you need a declaration or definition of function before its first use.

If you add the following line above the line 1136 (e.g. at line 343):
Code: Select allvoid AppendAndSendHTML(String HTML, bool initial = false, bool final = false);

and change line 1289 to this:
Code: Select allvoid AppendAndSendHTML(String HTML, bool initial, bool final)

you should be ok.