ovidiucp / TinyWebServer

Small web server for Arduino, fits in 10KB ROM, less than 512 bytes RAM
http://www.webweavertech.com/ovidiu/weblog/archives/000484.html
GNU Lesser General Public License v2.1
245 stars 65 forks source link

ENC28J60 ethernet module compatibility #32

Open antoniosap opened 8 years ago

antoniosap commented 8 years ago

this library is compatible ?

my includes stack is:

#include <EtherCard.h>
#include <SPI.h>
#include <Flash.h>
#include <TinyWebServer.h>

it give me errors:

/home/antonio/Arduino/libraries/TinyWebServer/TinyWebServer.h:89:31: error: 'Client' has not been declared static void send_error_code(Client& client, int code); ^ /home/antonio/Arduino/libraries/TinyWebServer/TinyWebServer.h:96:34: error: 'Client' has not been declared static inline void end_headers(Client& client) { client.println(); } ^ /home/antonio/Arduino/libraries/TinyWebServer/TinyWebServer.h:104:3: error: 'EthernetClient' does not name a type EthernetClient& getclient() { return client; } ^

....