A programmable waveform ballast has a power supply and a waveform
generator. The power supply provides, from a power source, a variable
power to a discharge lamp. The waveform generator is coupled to the power
supply and is programmable to produce a plurality of waveforms. The
waveform generator controls the power supply to apply the variable power
to the discharge lamp in accordance with a programmed waveform.