This circuit is about as good as it gets for generating morse code tones. It may be used as a code practice oscillator, a tone generator for a keyer, or a sidetone oscillator for a transmitter.
6-bit
PIC16F84 based with source code
for CW operating with SSB TRX
drives 8 Ohm Speaker
using NE567