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 / 15011
15010  |  15012
Subject: 
Re: RCX and train motors...
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Thu, 20 Oct 2005 18:56:48 GMT
Viewed: 
2126 times
  
In lugnet.org.ca.rtltoronto, David Koudys wrote:

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?

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 H8 assembly code at the firmware level.  BTW, the assembly
source code for the routines is provided in the tarball I linked to upthread if
anyone is willing to take a crack at adding DCC to any of the other firmware
options out there.

But, yeah, at present if you want to write code in NQC you'll have to use a
second RCX and send IR packets to the RCX running LDCC.

Mark



Message is in Reply To:
  Re: RCX and train motors...
 
(...) 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 (...) (19 years ago, 20-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
    

Custom Search

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