Add sine wave output with button-controlled frequency selection
DAC CH1 (PA4) outputs a 256-sample sine wave via DMA1/TIM6. Button B1
(PC13) cycles through presets: 100, 310, 1k, 3.1k, 10k Hz. Amplitude
reduced to 1800/2048 to avoid DAC output buffer clipping near VDD rail.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>