stay in the same value of analog input give output one time

MostafaHamdy:
yes that i need :smiley: :smiley: :smiley: , please can you add line comment to help me to understand the code
thanks :smiley: :smiley:

added comments to code/

Lefty