I needed to get a square input waveform and sawtooth output waveform with gain 10 and frequency of 5k Hz. I'm having problem because the input i got is a sine wave and output of cosine. I've calculated all the values of capacitor and resistor and apparently I have to play around with my clamp value. I've included the .asm file for your review. Any help would be great. Thank you in advance.
Attachments
-
1.5 KB Views: 55