DM timing microsecond?


Author Message
robarino
Newbie

Joined: 15/03/2012
Location: Sweden
Posts: 24
Posted: 12:59pm 15 Mar 2012      


I was wondering if any of you had used the auidio pulse as a counter. I am using the duinomite mega and I need to count with an accuracy of 10 microseconds. I can send a sound out at a frequency of 100 kHz from the audio jack. The question is how do I count the number of cycles in MMBASIC?

Thanks!

RobEdited by robarino 2012-03-17