This makes sense?

jremington:
I think you want

for(int j=0; j<Cont_Ultra; j++)

My question is...this makes sense? i mean...i need to know how many times the loop enter here

if(Lec_Ultra >= 280)
           {
             digitalWrite(ElecValv_Traslacion_Afuera,RELAY_ON);
             Cont_Ultra++;
           }