To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3792
3791  |  3793
Subject: 
Re: How to turn LEDs on/off ?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 9 Aug 2004 23:12:24 GMT
Viewed: 
6831 times
  
In lugnet.robotics.rcx.legos, Brian Jorgage wrote:
What is the command to turn an LED on or off ?  I've looked through the kernel
files and I don't see anything that seems to do this.

What LED are you talking about? The RCX has no LED build in. If you mean the LCD
display, you can use the cputc_native_*() functions described here:
http://brickos.sourceforge.net/docs/CommandRef.html#Display

If you mean a LED connected to a motor output, just use the motor_* functions
described here: http://brickos.sourceforge.net/docs/CommandRef.html#Motors

HTH

ROSCO



Message has 1 Reply:
  Re: How to turn LEDs on/off ?
 
(...) Sure it does. They emit infrared light -- they're part of its IR communication system. (20 years ago, 10-Aug-04, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  How to turn LEDs on/off ?
 
What is the command to turn an LED on or off ? I've looked through the kernel files and I don't see anything that seems to do this. (20 years ago, 9-Aug-04, to lugnet.robotics.rcx.legos)

5 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