Hello,
I'm working in a project to display the status and activation time of several digital inputs in a webserver based in an Arduino UNO + Ethernet shield + RTC module.
The problem I have is that the SRAM of the Arduino UNO gets easily full due to the "client.print" command line sed to display the data in the webserver. Because of this, I am currently analysing the possibility of programming a webserverd stored in the Ethernet shiled's SD card, inspired in the TinyWebServer.
The question I have is how to send Arduino data to the webserver without using the "client.print" comand line. Any suggestion to start?
(I'm not a HTML or Java expert)
The problem is not with the client.print() or client.println() function taking space in SRAM. It is with the constant data being printed being stored in SRAM that can be a problem.
client.print(file.read());
will use no SRAM.
Not that sending one character at a time is good idea, but it illustrates a point.