To provide an electronic apparatus capable of detecting an opening and closing state of each of two doors individually with a simple consfiguration of adding one sensor and two flags in the electronic apparatus in which one interlocking device is provided for two doors.
A first flag is arranged at a position where it blocks an optical path formed by a light emitting unit and a light receiving unit while the first door is closed, and arranged not to block the optical path while the first door is opened, and a second flag is arranged at a position where it blocks the optical path while the second door is opened or closed, and arranged to temporarily block the optical path when the second door shifts from the opened state to the closed state or from the closed state to the opened state.
Sogo Kuroiwa