Pseudo square wave