A lighting circuit for lighting a vehicular lamp including a plurality of
light-emitting diodes, includes: a selection unit for selecting the
number of light-emitting diodes to be connected in series in the
vehicular lamp based on an instruction from the outside; a switching
regulator for applying an output voltage based on a power-supply voltage
output by an external DC power supply to the selected number of
light-emitting diodes to be connected in series, so as to supply a supply
current to the selected number of light-emitting diodes; and an output
controlling unit for controlling the output voltage of the switching
regulator based on the supply current.