Driving circuits for producing the waveforms applied to the driving electrodes