I'm trying to read compare data from EEPROM ( ArduinoArduino UNO ). Reading Reading is working fine but comparing it using athe '==' 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");
}