I'm trying to read compare data from EEPROM (Arduino UNO). Reading is working fine but comparing it using the '==' operator is not working as expected.
//string 'True' is already stored in EEPROM
int addr = 0;
char value = EEPROM.read(addr);
Serial.println(value);// this line successfully prints the letter 'T'
// but this function is not working
if (value == "T") {
Serial.println("foo");
}