un probleme encodeur + diviseur de tension

what you say sir is true if I'm going to turn the encoder but the simulation arduino gave me just 0 and 1 without rotating encoder