Basic Square Wave Operation