square waveform on oscilloscope