Maybe you don't have the same version than me (1.0.1) ?yepp wrote:i got an error while compiling :can you help?Code: Select all
error: invalid conversion from 'const __FlashStringHelper*' to '__FlashStringHelper*'
Based on your compilation error message, try to replace :
Code: Select all
__FlashStringHelper *HtmlHeader=F("HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n");
Code: Select all
const __FlashStringHelper *HtmlHeader=F("HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n");
you can also replace the above line by :
Code: Select all
const char *HtmlHeader="HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n";
Let me know if it solves your problem.