LEGO MINDSTORMS Robots Manual page 192

Unofficial guide
Table of Contents

Advertisement

#include "conio.h"
int x;
int main(void) {
x = 44;
lcd_int(x);
lcd_refresh();
x++;
delay(1000);
return 0;
}
If you look back at LightSeeker.c, you'll see that all the variable initialization is done explicitly. In general, it should ring a warning bell in your head when you see variables that are initialized at
declaration time.
Online Resources
legOS
legOS
http://www.noga.de/legOS/
This is the official home page of legOS, written by Markus Noga. You can download files, browse the documentation, see installation instructions, and browse related web pages.
LegOS HOWTO
http://arthurdent.dorm.duke.edu/legos/HOWTO/HOWTO.html
Luis Villa has created a comprehensive set of information about legOS at this site. It covers the tools you'll need, where to get them, and how to install them. It also talks about programming in
legOS and includes useful links to the online MINDSTORMS community.
Another Low-level Tool
RCX Tools
http://graphics.stanford.edu/~kekoa/rcx/tools.html
This page contains a link to librcx, a C library for interacting with the RCX's ROM routines. It was developed by Kekoa Proudfoot, who did most of the original reverse engineering work on
the RCX.
Development Tools
egcs project home page
http://egcs.cygnus.com/
This is the home page for egcs, the compiler you'll need for legOS. The full package is 11 MB (compressed!).
Binutils—GNU Project—Free Software Foundation (FSF)
http://www.gnu.org/software/binutils/binutils.html
This is the home page for binutils, which you'll also need to compile legOS. Compressed, it's about 5 MB; uncompressed, it's around 25 MB.
Cygwin
Page 214

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

Subscribe to Our Youtube Channel

Table of Contents