DM timing microsecond?


Author Message
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3340
Posted: 07:49pm 15 Mar 2012      

Hi Rob,

I answered this in your email so this is more for someone else in the forum who might have the same question. It assumes that the sound output is connected to pin 13:
SOUND 100000, 3600000 ' 100KHz for a long time (1 hour)
SETPIN 13,5 ' set pin 13 as a counting input
...
PRINT PIN(13) ' get the count
...
PRINT PIN(13) ' count should have incremented

etc.

Geoff
Geoff Graham - http://geoffg.net