To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1840
1839  |  1841
Subject: 
Re: Help me convert this train program to use events (NQC)
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Tue, 29 Nov 2005 14:19:17 GMT
Viewed: 
6103 times
  
In lugnet.robotics.rcx.nqc, Jordan Bradford wrote:

   Is there a way to tell NQC that this is an RCX 2.0 within the code, like with a #define something ?

Not to my knowledge.

   Also, if I put the latest firmware on an RCX 1.0 brick, can it still run 2.0 code like these events?



Yes. The internal hardware between the 1.0, 1.5, and 2.0 bricks is identical with regards to the firmware, so any firmware will work on any RCX.

-- Brian Davis



Message is in Reply To:
  Re: Help me convert this train program to use events (NQC)
 
(...) I got to try my program tonight. It wouldn't compile, claiming EVENTTYPEHIGH and EVENTTYPEPRESSED were undefined. Eventually I figured out that I had to set the target flag -TRCX2. My compilation command is getting more and more complicated: (...) (19 years ago, 29-Nov-05, to lugnet.robotics.rcx.nqc, FTX)

16 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