if(data=='a')
{
Serial.println("omkar");
delay(200);
Serial.println(data);
data='a';// the only reason you got here is because data already has the value 'a'.
}
if(data=='a')
{
Serial.println("omkar");
delay(200);
Serial.println(data);
data='a';// the only reason you got here is because data already has the value 'a'.
}