Need Help fixing this Code

I'm trying to troubleshoot this code for a LED bike blinker that is controlled with a soft potentiometer.