And @Gunner told you why it doesn’t work. V4 terminal is not working with int.
yes am using the key
look the serial display works as i write in command but the msg in 1st statement does not show on terminal what is the error
{ if (param.asInt()==waqar)
{ Blynk.virtualWrite(V4, "hi waqar");
}
else if (param.asInt()==maxi)
{Serial.println(param.asInt());
Serial.println("max how r u");}
BECAUSE… text you type into the terminal is a string… but you are looking for an integer… thus it will never complete the if() argument.
You would use this instead… and don’t forget the quotes
if (param.asStr()=="waqar")
Needs to be “hi waqar\n”
Just show us the whole, updated, buggy code again… (format it after pasting here )