I have just started my first project. I am using a Pro mini, 3.3v ATmega 328 board. When I write the code I get the following error.
Sketch uses 23,458 bytes (76%) of program storage space. Maximum is 30,720 bytes.
Global variables use 2,134 bytes (104%) of dynamic memory, leaving -86 bytes for local variables. Maximum is 2,048 bytes.
Oggie1980 wrote: I have just started my first project. I am using a Pro mini, 3.3v ATmega 328 board. When I write the code I get the following error.
Sketch uses 23,458 bytes (76%) of program storage space. Maximum is 30,720 bytes.
Global variables use 2,134 bytes (104%) of dynamic memory, leaving -86 bytes for local variables. Maximum is 2,048 bytes.
Is there anything I can edit out?
Did you try to disable debug in Esp8266EasyIoTConfig.h?
I have just tried deleting debug the line in Esp8266EasyIotConfig.h but I am still getting the same message. It is still 104% so it doesn't appear to have saved any space.
I have also noticed that the pro mini does not use the serial1 command so I have removed both references to it in the esp8266_pressure program. was this the correct thing to do?
Oggie1980 wrote: I have just tried deleting debug the line in Esp8266EasyIotConfig.h but I am still getting the same message. It is still 104% so it doesn't appear to have saved any space.
I have also noticed that the pro mini does not use the serial1 command so I have removed both references to it in the esp8266_pressure program. was this the correct thing to do?
Try @cdj's trick in his relay example to instantiate message only when you need it.