Question
change wave frequency with pot ..how?
Posted on November 22, 2012 at 20:43
Hi. I hope someone can help me here...
I have been looking at the STM32f4 dac signal generation code. I would like to know how I could change the frequency of the output waveform with a potentiometer or, using the ADC, any other simple sensor ( LDR perhaps..)I was wondering if it is possible to change TIM.Period via the ADC...I am a beginner but if anyone can point me in the right direction that would be nice...?..I am using the STM32f4 discovery and the DACsignals generation code from the peripherals library.I am on a windows machine...Thankyou,STeve.