Square wave output voltage