Fixed syntax for square waves