Here is the circuit diagram of lantern dimmer / flasher designed by Tony Van Roon: There are two circuit modes:…