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 / 3383
3382  |  3384
Subject: 
Re: LEGO remote controller problem
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 28 Jul 2003 11:59:35 GMT
Viewed: 
3002 times
  
Christian Hornung wrote:

The main program just displays the reading of a light sensor on the right
digit, while the remote handler should display any received key value.
However, when I run this program and press some buttons on the RC, only the
IR indicator flickers.

I compiled your program and it did everything. No problem on my side.

If you don't start your program, does the remote control work? Attach a
motor at A, B and C and try to run it with the remote. Or try to run
your program with the P1 button.

Regards,

Michael



Message has 1 Reply:
  Re: LEGO remote controller problem
 
(...) No, it doesn't. The IR indicator flickers, but running motors or starting the program doesn't work. In fact, I didn't know that there is a "default handler" until reading your message. Might the problem be caused by wrong versions of gcc or (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: LEGO remote controller problem
 
Hi Michael, Thank you very much for your answer. Well, there isn't really much source, here we go: #include <conio.h> #include <unistd.h> #include <remote.h> #include <dsensor.h> int my_lr_handler(unsigned int etype, unsigned int key) { cputw(key); (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)

11 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