That seems like a good idea to toggle pins ON and OFF. I will try that also. Thanks.You really don't need PWM which is typically used to mimic an analogue output on a digital pin. If you are happy with a square wave you can toggle a pin high and low at any audio frequency and higher by putting microsecond delays with between each step, the delay being half the period of the square wave.
