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 / 3273
    Re: TIME STAMP for a LNP distributed robot —Mark Riley
   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)
   
        Re: TIME STAMP for a LNP distributed robot —Mark Riley
   BTW, make sure you include: #include <time.h> Otherwise, get_system_up_time() will only return 16 bits! Mark (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
   
        Re: TIME STAMP for a LNP distributed robot —CarlosLuis Rendón Monterroso
   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)
 

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