I have a character array which has stuff in it, and I want to check it against a string. How do I do this?
void printRoute(char * route){
Serial.print(route); // output is '10s' (no quotes)
if(route == "10s") Serial.print("True");
else Serial.print("False"); //Output is always false.
}
How do I check these two things against each other properly so it returns true?