Param was not declared

strong text


Your syntax is incorrect.

Remove the ; from BLYNK_WRITE(V1);

1 Like

sorry i am poor at coding

The proper C++ syntax is

  if( param.asInt() ) {
    // code
  } else {
    // code

this is not coding it is copying :slight_smile:

I just noticed your setup() has not closing parentheses too.

Which is the }

still the same error

PLEASE paste your code here and stop posting images.

Copy this example and replace CODE with your entire sketch


@Sai_Khurana the way to start with Blynk is pick the correct sketch provided by Blynk and ensure it works. This way you have working code, then you can add your code to it.

okay!! thanks

which code?