[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Oct 11 00:11:10 1993 
Subject:Re: Threaded Interpretive Languages 
From:Nathan Stratton 
Volume-ID:931011.01 

In article <1993Oct10.132809.24377@rockyd.rockefeller.edu> penev@venezia.rockefeller.edu writes:
>On 10 Oct 1993 13:14:30 GMT Nathan Stratton (nstn@quercus.gsfc.nasa.gov) wrote:
>| Hi, I am a little new to forth I am building a ultrasonic ranger board for
>| my robot. To send a ping you need to load a 1 into 768. When the ping is 
>| recived it sets bit 1 of 772 high. My question could forth count the delay
>| between sending a ping and receiving a ping. How accurately can I measure
>| the delay can get get below a ms ????
>
>The answer to this question depends on many things. 
>What is your processor?
>Do you have an onboard clock? 
>Can you use interrupts?
>Do you mant to do multitasking, while waiting to receive the ping?
>
>--
>Penio Penev  x7423 (212)327-7423 (w) Internet: penev@venezia.rockefeller.edu
>
>Disclaimer: All oppinions are mine.

I am using a 386 40 Mhz motherboard, and would like it if I could have a
rutine running in the background that would ping and then wait for the ping. 
Then If the rutine could put it time it took for the ping to return in a 
variable.

Nathan Stratton
nstn@quercus.gsfc.nasa.gov