Timers
Topic last updated
06 May 2012, by
Philips Philips.
2 replies
Does anybody know how I can pass data out of a timer into a second timer please.
Replies
Your project sounds interessting. For the timer, the only thing I can see is that you could reset the second timer based on the time of the first timer. But this is indirect. What you want is more like set the time of timer2 equal to timer1... , Maybe you could :
1 - Save the time of the timer1 in a variable
2 - Rest both timers...
It is a bit wird, but maybe this help... anyways good look with your project.
Your project sounds interessting. For the timer, the only thing I can see is that you could reset the second timer based on the time of the first timer. But this is indirect. What you want is more like set the time of timer2 equal to timer1... , Maybe you could :
1 - Save the time of the timer1 in a variable
2 - Rest both timers...
It is a bit wird, but maybe this help... anyways good look with your project.
I think I need to use a second mbed as the dsp, pass the data to the second mbed I2S, when I first wrote this I was under the impression that I would be able to transfer data and use two timers on one mbed which perharps would not work after all the iPod had two 90MHz arm cores and an audio codec.
But I don't know maybe it is possible on one mbed.
Please log in to post a reply.
Does anybody know how I can pass data out of a timer into a second timer please.