My goal is to generate a clean 38Khz square wave. I have a Parallax USB oscilloscope and as I increased the frequency the wave would no longer return to zero volts. I have screenshots at 250Hz, 2.22Khz and 6.57Khz. My question is can I solve the problem with a comparator or should I try to write this in PASM?
If the grass is greener on the other side...it's time to water your lawn.