I'm using the follwing code to read a value from my website back to the arduino mega:
void leesWaarde()
{
int waarde;
if (client.connect(myserver,80))
{
client.println("GET /data.php");
client.println();
if(client.find("<"))
{
waarde = client.parseInt();
Serial.println(waarde);
}
}
}
the value the data.php outputs is for example <10.0>
but what if I want to get a value that is between quotes?
like this "10.0"
if I change the < in the above code to " the code breaks.
So how do you get a value between quotes?