Hi Paul,
Thanks for helping me out!
I am getting more and more close to a working thing ![]()
The lcd now displays the name that is between with this code
while(client.connected() && !client.available()) delay(1); //waits for data
while (client.connected() || client.available()) { //connected or data available
char c = client.read(); //gets byte from ethernet buffer
// add incoming byte to end of line:
// currentLine += c;
// if you get a newline, clear the line:
if (c == '\n') {
currentLine = "";
}
if ( c =='<') {
readingName = true;
name = "";
}
if (readingName) {
if (c != '>') {
name += c;
}
else {
readingName = false;
Serial.println(name);
lcd.setCursor(0,1);
lcd.print(name);
delay(1000);
}
}
}
The only thing that is driving me really crazy is that the '<' is still shown at the beginning of the name on the display
The php code gives a html with
Can you please help me out to remove that firs character?
Thanks!