N my code, syncall doesn’t work

Hi, in my code, syncall doesn’t work in method Blynk_Connected. I have this code:

BLYNK_CONNECTED() {
          if (isFirstConnect) {
            Blynk.syncVirtual(buttonFaretto10W, buttonMadonna, correnteIstantanea, potenzaIstantanea, energiaTotale, correnteTotale, correnteTotaleDay, V9, V10, V11, V12);   
            isFirstConnect = false;
          }
        }

V9, V10, V11, V12 are timer, the others are button and values
Why don’t work?
Thank you

I’m not sure that you can do it as an array of parameters.
I think you need:

Blynk.syncVirtual(buttonFaretto10W);
Blynk.syncVirtual(buttonMadonna);
Blynk.syncVirtual(correnteIstantanea);

etc.

Pete.

Thank you but in Blynk doc I read this:

You can also update a single Virtual Pin value by calling Blynk.syncVirtual(V0) or you can update several pins with Blynk.syncVirtual(V0, V1, V2, ...) .