Pages: 1 ... 7 8 [9]   Go Down
Author Topic: Timer Interrupts on Due  (Read 64143 times)
0 Members and 2 Guests are viewing this topic.
Brasil
Offline Offline
Full Member
***
Karma: 4
Posts: 125
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have done a few modifications to the Due_Timers library, but I can't contact Ivan.  I want to help with this library.

Hi!

Sorry for the delay (if you sent me an email, I haven't got time to answer it yet...)

About the changes, I will be happy to review it and commit to the master branch of the repository. Could you kindly submit a new commit and a merge request?

Thanks!
Logged


Brasil
Offline Offline
Full Member
***
Karma: 4
Posts: 125
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

Because there are some people with this problem, I made a modification on DueTimer that will allow you to put to work both Servo and DueTimer together.

I didn't have time to test, but I'm pretty sure everything will work just fine.

Here is the documentation on how to make it work: https://github.com/ivanseidel/DueTimer#compatibility-with-servoh
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 1
I am a full time software engineer and enjoy working on various projects in my spare time, especially Arduino, Electronics, 3D printing, Software development and woodworking.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey just wanted to say thanks to all on this thread. I just finished building a theremin like instrument with an Arduino Due
http://2manyprojects.net/theremin-1 .

I would never have completed this project without all the info I got here. It uses two different timer interrupts, one at 44.1 kHz, and one every 20 mS. The 44.1 kHz is for actually playing the tone using granular synthesis ( only one grain ), I got started with the "RCArduino Quick And Dirty Synth for Arduino Due"
http://rcarduino.blogspot.com/2012/11/quick-and-dirty-synth-for-arduino-due.html.

The 20 mS interrupt is used to control a servo, this is done to demonstrate how to play a song. ( it will make sense if watch the video here http://2manyprojects.net/rtttl ). 

I also wrote up a tutorial on making a LED flash SOS using timer interrupts.
http://2manyprojects.net/timer-interrupts .

Thanks Again
Danny
Logged

Pages: 1 ... 7 8 [9]   Go Up
Jump to: