if(Serial.available()){ a=(int)Serial.read(); Serial.println(a); if(a==49){ on=on+potValue; ESC1.write(on); Serial.println("ilerle = "+String(on)); }