Arduino Mega Memory error

Hi ... ;)

I'm trying to load the following huge code to the Arduino mega But i can't.... :0

=> It works perfect with only 20 Pins or without the html and the serial. :roll_eyes:

!=> But i hope that there is some type of code that i miss and at last make this code works ... :) Can someone help me .... :sweat_smile:

Code : https://docs.google.com/document/d/1fxr-qhgPyOcWOWB14CKdKQc7SsSsoMyzW2m0ciR1eWU/edit?hl=el&authkey=CJbsjdYF

It's a good job you spotted the error before the code got too big.

My guess is all those strings are causing you to run short of RAM.

Move them to PROGMEM.

I am not so familiar with the code :relaxed: can you please explain me how can i do it ... :)

Editable : https://docs.google.com/document/d/1fxr-qhgPyOcWOWB14CKdKQc7SsSsoMyzW2m0ciR1eWU/edit?hl=el&authkey=CJbsjdYF

http://www.arduino.cc/en/Reference/PROGMEM