To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 15010
15009  |  15011
Subject: 
Re: RCX and train motors...
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Thu, 20 Oct 2005 17:15:15 GMT
Viewed: 
1647 times
  
In lugnet.org.ca.rtltoronto, Mark Riley wrote:
In lugnet.org.ca.rtltoronto, Brian Davis wrote:

   How "big" is LDCC? I'm *not* a coder, but it seems to me some enterprizing
soul could make a LDCC add-on for BrickOS, for instance, or the Swan firmware.
that way you could have LDCC as an "output format" on an RCX that otherwise is
just running "normal" RCX programs. Fully programmable, autonomous LDCC.

No need to write it, it already exists!  Find it here:

http://home.surewest.net/markril/lego/dcc/dcc.tar.gz

I never got around to actually posting this code in a public place as I've just
emailed it directly to interested individuals.  Anyways, there's a patch to
BrickOS, the DCC routines themselves and a small demo program in C for
controlling a locomotive to illustrate usage of the routines.

Cheers,

Mark

Hey Mark,

I've been using LDCC for a while now--very happy with it, btw...

Anyway, you say you have thins thing for BrickOS-I've never used that--I only
program in NQC

Is this routine adaptable to NQC so I can have NQC and LDCC running on the same
RCX or do I have to use the IR transmission as outlined in LDCC 1.05?

Dave K



Message has 1 Reply:
  Re: RCX and train motors...
 
(...) Well, you couldn't translate the DCC routines to NQC (if that's what you're asking) because the byte code interpreter used by NQC is simply too slow to generate the correct waveform (by a factor of about 1000!) The DCC routines were written in (...) (19 years ago, 20-Oct-05, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: RCX and train motors...
 
(...) No need to write it, it already exists! Find it here: (URL) never got around to actually posting this code in a public place as I've just emailed it directly to interested individuals. Anyways, there's a patch to BrickOS, the DCC routines (...) (19 years ago, 19-Oct-05, to lugnet.org.ca.rtltoronto)

15 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