To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 2808
2807  |  2809
Subject: 
Re: IR Port as night/day detector (Was: Re: IR Port as Proximity detector.)
Newsgroups: 
lugnet.robotics
Date: 
Thu, 14 Jan 1999 21:06:19 GMT
Original-From: 
John A. Tamplin <jat@ANTISPAMtraveller.com>
Viewed: 
1370 times
  
On Thu, 14 Jan 1999, Laurentino Martins wrote:

At 18:35 14-01-1999 Thursday , John A. Tamplin wrote:
On Thu, 14 Jan 1999, Laurentino Martins wrote:

I though the RCX had a internal clock.
I don't have a RCX so I can not tell. The CyberMaster doesn't.

Not a time of day clock, but you have the materials to do your own once you
tell it what time it is.  This would probably require you to use something
like legOS.


How's that?
The SDK has the function SetWatch( Hours, Min ).
Also, in page 47 (printed page 45) we can read in the table that the source 14-0 : "RCX. Watch. Integer where MSB=hours and LSB=minutes"

If this isn't a time of day clock, tell me what it is...

The RCX hardware does not have a time of day clock.  I haven't fooled with
the standard RCX bytecode interpreter, so I wasn't aware that it
implemented one in software, but it is doing just what I said you could do
-- you get the initial time/date and then you keep it up to date by
counting regularly scheduled interrupts.

John A. Tamplin Traveller Information Services
jat@Traveller.COM 2104 West Ferry Way
256/705-7007 - FAX 256/705-7100 Huntsville, AL 35801

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message is in Reply To:
  Re: IR Port as night/day detector (Was: Re: IR Port as Proximity detector.)
 
(...) How's that? The SDK has the function SetWatch( Hours, Min ). Also, in page 47 (printed page 45) we can read in the table that the source 14-0 : "RCX. Watch. Integer where MSB=hours and LSB=minutes" If this isn't a time of day clock, tell me (...) (26 years ago, 14-Jan-99, to lugnet.robotics)

13 Messages in This Thread:







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

Custom Search

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