How to output the data recived from potentiometer with digital output?

threshold! That's what I look for...
Thank you...
I think I misused the word 'convert' to 'transfer'.
That phrase just means "I have to convert analog Input(potentiometer) to digital Output(ledPin)".
I solved this problem using the keyword 'threshold' (what you tell me!).
Thank you very much :slight_smile: