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.