A light-emitting element driving device comprising: a reset signal generation unit arranged to generate a reset signal in accordance with current flowing in at least one light-emitting element; a set signal generation unit arranged to generate a set signal in accordance with an anode voltage of the at least one light-emitting element; and an output voltage supply unit (1H, 1L, 2H, 2L, 3) arranged to generate an output voltage from an input voltage in accordance with the reset signal and the set signal so as to supply the output voltage to the at least one light-emitting element, the set signal generation unit including a current generation unit arranged to generate current according to the anode voltage of the at least one light-emitting element, a charging unit arranged to charge the current generated by the current generation unit, a comparing unit arranged to generate the set signal in accordance with a comparison result between a charging voltage of the charging unit and a reference voltage, a detection unit arranged to detect a level of the anode voltage of the at least one light-emitting element, and a voltage dividing unit arranged to divide the anode voltage of the at least one light-emitting element, characterized in that either the reference voltage (V ref) is a constant voltage wherein both a voltage division ratio of the voltage dividing unit and a capacitance of the charging unit are switched in accordance with the detection result of the detection unit; or the reference voltage is a voltage switched in accordance with a detection result of the detection unit, wherein both the voltage division ratio of the voltage dividing unit and the reference voltage are switched in accordance with the detection result of the detection unit. a reset signal generation unit arranged to generate a reset signal in accordance with current flowing in at least one light-emitting element; a set signal generation unit arranged to generate a set signal in accordance with an anode voltage of the at least one light-emitting element; and an output voltage supply unit (1H, 1L, 2H, 2L, 3) arranged to generate an output voltage from an input voltage in accordance with the reset signal and the set signal so as to supply the output voltage to the at least one light-emitting element, the set signal generation unit including a current generation unit arranged to generate current according to the anode voltage of the at least one light-emitting element, a charging unit arranged to charge the current generated by the current generation unit, a comparing unit arranged to generate the set signal in accordance with a comparison result between a charging voltage of the charging unit and a reference voltage, a detection unit arranged to detect a level of the anode voltage of the at least one light-emitting element, and a voltage dividing unit arranged to divide the anode voltage of the at least one light-emitting element, characterized in that either the reference voltage (V ref) is a constant voltage wherein both a voltage division ratio of the voltage dividing unit and a capacitance of the charging unit are switched in accordance with the detection result of the detection unit; or the reference voltage is a voltage switched in accordance with a detection result of the detection unit, wherein both the voltage division ratio of the voltage dividing unit and the reference voltage are switched in accordance with the detection result of the detection unit.