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 / 3920
3919  |  3921
Subject: 
Re: RCX to RCX LNP
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 12 Aug 2005 10:11:01 GMT
Viewed: 
7347 times
  
On Wednesday 10 August 2005 21:15, Steve Hassenplug wrote:
I'm trying to write a BrickOS program that I can use to check the voltage on
other RCXs (which use standard firmware).

I want to send the Get Battery Power command (0x30 and 0x38), and display the
returned value on the display.

Can anyone tell me if this seems correct?

I think I'm having a problem with my LNP handler.  When I run it, the IR segment
on the other RCX lights up, like it's getting a message.  But, my BrickOS RCX
does nothing.

AFAIK there is no way to receive Lego-Messages, except by editing lnp.c and adding
that by hand.  The only Lego-Messages that brickos knows of, are those from the
remote control and the "send message" opcode (0xf7).  It may be worthwhile to add
general LEGO-Message support to lnp.c together with an lnp_lego_handler...

However, I wonder why your brickOS RCX doesn't indicate that it receives a message.

  Jochen



Message has 1 Reply:
  Re: RCX to RCX LNP
 
Hi. (...) That would be a fun state machine to set up... ;-) (...) It only does so when it receives opcodes between 0xf0 - 0xf7 or a standard firmware message (0x55). Of the first eight, only 0xf0 and 0xf1 currently require further action, with 0xf0 (...) (19 years ago, 17-Aug-05, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  RCX to RCX LNP
 
I'm trying to write a BrickOS program that I can use to check the voltage on other RCXs (which use standard firmware). I want to send the Get Battery Power command (0x30 and 0x38), and display the returned value on the display. Can anyone tell me if (...) (19 years ago, 10-Aug-05, to lugnet.robotics.rcx.legos)

4 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