Go Down

Topic: Arduino Due Timer interrupt (Read 480 times) previous topic - next topic

suraj_150890

Hello folks,

I purchased Arduino Due and  successfully performed an experiment on Simple waveform Generator.
Please refer follwing link:
https://www.arduino.cc/en/Tutorial/DueSimpleWaveformGenerator

  Now my task is to  repeat the wave by increase the time between two samples.
Solution for task is :
1) Use timer Interrupt for wave and then modify the frequency.

The above solution is not crystal clear to me. If my question is silly, I am extremely sorry because I am new to arduino Due. I referred lot of link I didn't receive proper answer.

I guess the following link is the answer for my task but it has not been explained in more details.

http://forum.arduino.cc/index.php?topic=317832.0

Help is highly appreciated.

Patrick_123

Maybe have a look at this.https://github.com/ivanseidel/DueTimer
This Timer interrupt works fine for me.
If you get trouble with the DueTimer.h then have a look to this: https://github.com/ivanseidel/DueTimer/issues/47

suraj_150890


Go Up