This frequency-corrected 1 kHz circuit has a nearly perfect rectangular signal. The circuit is from a December 1993 Electronics Now magazine.