Problems selecting and toggling LED status with potentiometer