Remove the quotes from the if statement. "t" does NOT mean the contents of variable t.
Try a Serial.println("t") and then Serial.println(t) if you really don't understand the difference.
Steve
Remove the quotes from the if statement. "t" does NOT mean the contents of variable t.
Try a Serial.println("t") and then Serial.println(t) if you really don't understand the difference.
Steve