Use a microcontroller to generate sine, triangle, and square waveforms. Control the amplitude and frequency using two potentiometers. A pushbutton switch is used to switch between waveform types.
Specifications:
Waveforms: Sine, Square, Triangle.
Controls:
Potentiometer 1: Adjust amplitude.
Potentiometer 2: Adjust frequency.
Pushbutton: Cycle through waveform types (Sine → Square → Triangle → back to Sine).
Default: Start with a sine wave on boot.
Real-time Response: Changes in potentiometer values are reflected instantly on the output.