Problem using BLYNK_WRITE

Hello i using Arduino IDE to write my code but whenever i try to use BLYNK_READ it says that it cannot compile even when using example code blynk docs.


BLYNK_WRITE(V1) //Button Widget is writing to pin V1
{
  int pinData = param.asInt(); 
}

Hi Andreas, it would help if you post the rest of the code as well, cause it looks like the issue is not in the section you posted.

Please also post full compiling error

figured it out i simply did not understand the code my bad