Rcx Software Architecture - LEGO MINDSTORMS Robots Manual

Unofficial guide
Table of Contents

Advertisement

Now compile the source code using the nqc command:
C:\>nqc Hank.nqc
C:\>
If you made a mistake typing in the program, nqc gives you a list of errors. Otherwise, you're ready to download the program with the -d option:
c:\>nqc -d Hank.nqc
Downloading Program:.....complete
c:\>
(If you need to specify a serial port different from the default, use the -S option.)
Go ahead and run the program. When you're done playing, come back and get some background on the software that runs the RCX.

RCX Software Architecture

Writing a program for the RCX involves a handful of software layers, both on the development PC and on the RCX itself. Figure 4-1 shows an overview of the important pieces.
ROM
The RCX is a small computer that is based on a Hitachi H8/3292 microcontroller. The RCX contains two kinds of memory: Read Only Memory (ROM) and Random
Figure 4-1.
RCX software architecture
Page 55

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MINDSTORMS Robots and is the answer not in the manual?

Questions and answers

Table of Contents