Added code to sample LED only every LED_SAMPLE_COUNT times. At all other times LED stays turned on