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 / 734
733  |  735
Subject: 
Re: legOS timers
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 28 Jan 2000 07:30:54 GMT
Viewed: 
1597 times
  
In lugnet.robotics.rcx.legos, Ben Jackson writes:
In lugnet.robotics.rcx.legos, Vlad Dumitrescu writes:
Did anyone write any 'nicer' wrapper functions for handling the RCX timers?

You nicer than msleep() and sleep()?

Mmm, yes.
I was thinking about things like SetTimer and GetTimer, so that wakeup handlers
can be used... as things are now (if I am not wrong) one has to directly work
with the ROM...

/Vlad



Message has 1 Reply:
  Re: legOS timers
 
Why don't you use the system timer (sys_time)? With one timer is enough. Use relative times instead of absolute timers... Toni Vlad Dumitrescu <vladdu@NOSPAM.hotmail.com> wrote in message news:Fp1BJI.E4M@lugnet.com... (...) timers? (...) handlers (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: legOS timers
 
(...) You nicer than msleep() and sleep()? --Ben (25 years ago, 28-Jan-00, 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