Added logic for reading response for each LED