Crea sito

5.6 save SRAM reducing serial buffer



If you decide to work only with ethernet you can reduce the serial buffer (since you're not using it) to save some SRAM.

In your Arduino installation's folder look for the file HardwareSerial.h at the path \arduino-1.6.11\hardware\arduino\avr\cores\arduino

And change the following two lines:

In this way:

Doing this you can then set MAX_STRINGLEN to 32 in the configuration file.
This allow you to write AVIL program remotely on Arduino using the Arduino itself.