AnsweredAssumed Answered

change wave frequency with pot ..how?

Question asked by scutt.stephen on Nov 22, 2012
Latest reply on Nov 23, 2012 by Andrew Neil
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.

Outcomes