A device includes at least two circuit branches, each of said at least two circuit branches comprising at least one LED diode. The device comprises a supply circuit that provides an electric supply of said at least two circuit branches and includes a variable resistance. The device comprises a controller coupled to said at least two circuit branches and suitable for varying said resistance in reply to a variation of the current that flows in one of said at least two circuit branches to vary the electric supply of said at least two circuit branches.