There is provided an original conveying apparatus for conveying an original
to an image reading section of an image forming apparatus, which is capable of
preventing the number of times of writing to a nonvolatile storage medium that
stores a correction value for the light emission amount of an optical sensor from
exceeding a limited number of times even when adjustment of the light emission
amount of the optical sensor is carried out frequently, reducing as far as possible
the number of times of writing data to the storage medium that can store such data
a limited number of times, thereby eliminating the occurrence of inconvenient situations
such as it being impossible to maintain proper output processing, and lengthening
the lifetime of the storage medium. Writing of the correction value for the light
amount of the light-emitting section of the optical sensor to an EEPROM is carried
out if the correction value has changed by at least a predetermined amount relative
to the value before adjustment but is not carried out if the correction value has
not changed by at least this predetermined amount relative to the value before adjustment.