BTW, make sure you include: #include <time.h> Otherwise, get_system_up_time() will only return 16 bits! Mark (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
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... (...) (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)