first time posting, sorry if I'm not posting in the right place.
I'm trying to trigger an LED from a potentiometer, the values going from 0 to 500 to 300. I need the LED to light up at 300.
my code works fine as this is a simple circuit and code. My only issue is I don't have enough knowledge to what to put down for the LED to light up at 300 after 0 to 500.
Thank you all for the responses, I will try these possible solutions. To further clarify. I wanted the LED to turn on after a sequence of 0,500,300 have been shown.