Hello,
So from previous threads, I have found a method to produce a sine wave on the DAC output (A12) of the Teensy LC board. I have attached the code below that I am using and I was wondering if anybody could help me in changing the code. The code output requires to have a constant amplitude throughout however the frequency of the sine wave must begin at 5Hz and increase up to 25Hz. The frequency has to increase by 1Hz every 3 seconds summing to a change of 20 Hz (5 to 25) in 1 minute. I am a beginner at this so simpler explanations would be appreciated
So from previous threads, I have found a method to produce a sine wave on the DAC output (A12) of the Teensy LC board. I have attached the code below that I am using and I was wondering if anybody could help me in changing the code. The code output requires to have a constant amplitude throughout however the frequency of the sine wave must begin at 5Hz and increase up to 25Hz. The frequency has to increase by 1Hz every 3 seconds summing to a change of 20 Hz (5 to 25) in 1 minute. I am a beginner at this so simpler explanations would be appreciated