| | sys_time not working Vasilis Papadimitriou
|
| | Hi i install successfully brickOS-0.2.6.10 under Win2000 without any problems and ran successfully "helloworld.lx" I created one first elementary small program using the sys_time function. The problem is that it doesn't compile correctly. The (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
|
| | |
| | | | Re: sys_time not working John Hansen
|
| | | | (...) Use get_system_up_time() instead (as modified below). #include <conio.h> #include <unistd.h> #include <time.h> #include <tm.h> #include <dsensor.h> #include <dmotor.h> long int t1,t2,t; int main(int argc, char *argv[]) { ......... ........ (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: sys_time not working Vasilis Papadimitriou
|
| | | | It works! My mistake was that i only checked the "Command Reference" link that obviously refers to a previous version of legOS. So thank you very much. See you at the Olympic Games in our city Athens . "John Hansen" <JohnBinder@aol.com> wrote in (...) (21 years ago, 6-Aug-03, to lugnet.robotics.rcx.legos)
|
| | | | |