[MERGED] adding sine to square generator

This topic has been merged into Adding a sine wave.