HOW DO YOU GENERATE A SQUARE WAVE OUTPUT VOLTAGE