void Motor(){val1=analogRead(Poti1);val2=analogRead(Poti2);if ((val1>val2)&&(val1>minval)){Motor_1_3();}if ((val1<val2)&&(val1<maxval)){Motor_2_4();}if ((val1=val2)||(val1=minval)||(val1=maxval)){Motor_OFF();}}one question can i put val = analogread to a different void or this wouldn't work