ice maker doesnt work

Ice maker stopped working, replaced ice maker still no ice. With the flapper door closed the led blinks twice pauses and blinks twice again. Is it possible that the emitter or receiver is bad?