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 / 3679
3678  |  3680
Subject: 
Re: How to get RCX to display/change its LNP host address ?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 19 Feb 2004 00:13:33 GMT
Viewed: 
4805 times
  
In program.c, you will find:

         cputw(lnp_hostaddr);


This is used by the program manager to display the current host address
(use the View button on the RCX)... while displaying the host address,
if you hit the Program button on the RCX, it will increment the host
address.

HTH,
// Joe

Brian Jorgage wrote:

1) I am trying to write a small program which will change the host address of
the RCX to something else.  I am making a call to lnp_set_hostaddr().  But I
would like to verify the change, so:

2) I am also trying to get the RCX to display its current host address on the
LCD display.  Tried using cputs() - this displays only portions of a complete
LCD digit.  Tried using cputc_native_4() w/no luck.  So what is an easy way to
get the RCX to display small internal values such as host address, etc ?

Brian Jorgage



Message is in Reply To:
  How to get RCX to display/change its LNP host address ?
 
1) I am trying to write a small program which will change the host address of the RCX to something else. I am making a call to lnp_set_hostaddr(). But I would like to verify the change, so: 2) I am also trying to get the RCX to display its current (...) (21 years ago, 18-Feb-04, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR