??? 08/15/06 02:59 Read: times |
#122241 - Perplexed...... Responding to: ???'s previous message |
Thanks for the info guys, however I am still fuzzy on a few things. I dont think I gave enough information before so it was a bad post on my part. Here is my situation I am adding (or rather replacing a high speed counter routine) in a microcontroller with a routine to turn ON an output and start a timer once an external interrupt is triggered, then after the timer overflows shut OFF the output and then reset the interupt routine. Now I can see how it would be done using the hardware control setup on the timer itself. But I actually need to turn ON the output and start the timer then exit out of the routine in order to continue running progam code that it was running before the interrupt, then when the timer overflows turn off the output.
I don't need someone to write all the code for me just an example or two, besides how am I ever going to learn this if someone writes all the code for me! Thanks a lot. James thanks for the tip on the histeresis duely noted...I dont think it is going to be much of a problem in this case thanks Dave |