Hi! I am using an AtMega32 to output a square wave. I am varying the frequency by toggling the output pin using Timer1. However, I also need to vary the voltage of the wave and frankly, have no idea how to. I tried looking up google but not much of it made sense to me thanx to my limited knowledge of electronics. Can anyone please help ? I dont have to use the micro controller so even circuit ideas are open. Can I use some kind of voltage controller to modify the wave after the square wave of the set frequency has been output from the micro controller port?