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 / 3274
3273  |  3275
Subject: 
Re: TIME STAMP for a LNP distributed robot
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 7 May 2003 16:13:32 GMT
Viewed: 
3091 times
  
BTW, make sure you include:

#include <time.h>

Otherwise, get_system_up_time() will only return 16 bits!

Mark



Message has 1 Reply:
  Re: TIME STAMP for a LNP distributed robot
 
Thanks Mark for your idea, it's better to have a different global time than the one of the kernel. Best Regards, CarlosLuis Rendon M. "Mark Riley" <markril@hotmail.com> wrote in message news:HEIyDt.16s5@lugnet.com... (...) (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: TIME STAMP for a LNP distributed robot
 
Hi, The sys_time variable is the basic timekeeper for BrickOS. It is a 32-bit integer that is incremented every millisecond by the kernel. In older versions of the kernel you could access the variable directly, however, in 0.2.6.10 and later you (...) (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)

4 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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