To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2166
2165  |  2167
Subject: 
Re: How to get interval of time
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 18 Dec 2001 22:21:26 GMT
Viewed: 
1772 times
  
In lugnet.robotics.rcx.legos, Zhengrong Zang writes:
In NQC, I can use ClearTimer(0) and Timer(0) to get interval of time, how
can I do it in legOS?
I used t1 = sys_time, then t2 = sys_time, so interval = t2 - t1, is it
correct?

Yep, that's how I do it & it seems to work.

ROSCO



Message is in Reply To:
  How to get interval of time
 
In NQC, I can use ClearTimer(0) and Timer(0) to get interval of time, how can I do it in legOS? I used t1 = sys_time, then t2 = sys_time, so interval = t2 - t1, is it correct? Zhengrong (23 years ago, 18-Dec-01, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR