Hi Ioannis,
A low pass filter should be able to filter out the sharp edges and make the square look closer to a sine wave. For frequency modulation, a square wave should be suitable since its amplitude is not a main factor in the demodulation of the transmitted signal.
Bookmarks