Use a virtualpin to store values

I would like to know if it is possible to use a virtualpin not attached to a widget to store a value on the server and be able to retrieve it with virtualsync ??? or is there another way to do it ?
Thanks for your help

Yes this is possible. Write the value using Blynk.virtualWrite(Vpin, value);, and retrieve it using Blynk.syncVirtual(Vpin);, and its associated function.

int value;

  value = param.asInt(); 

Thanks, i will try it ! :wink:
You should be right, i have found this ==>