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 / 3688 (-10)
  Respondre el missatge: Use of lnp_addressing_write() in an RCX program.
 
You must send the packet to port 0 of the destination. The dest address is conformed by the address in the upper 4 bits and the port in the lower 4 of the char. So if you put address = 6 you are saying -> host=0 port=6 and you must send to host=6, (...) (21 years ago, 27-Feb-04, to lugnet.robotics.rcx.legos)
 
  Re: Spurious bad readings from sensors
 
(...) Could it be noise getting into the analog power supply? If you're switching between brake and full power with the motor ports, it seems possible that some spikes could get through to the A/D converter. You might be able to test this by (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
 
  Re: Spurious bad readings from sensors
 
Hi Mark, Thanks for the help. In Steve's legway code he reads from LIGHT_1 and LIGHT_3 (even if there is no sensor hooked to LIGHT_3). When I was running his code with instrumentation for both sensors, I had nothing hooked to SENSOR_3, and I still (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
 
  USB tower/Linux/Firmdl not working nicely together
 
Hi, Delighted I was to see that the USB lego tower driver was accepted into the Linux kernel tree, so I downloaded linux 2.6.2 and installed the lego driver with it. It checks in perfectly, no problem with the driver. But, when I try to upload (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
 
  Re: Spurious bad readings from sensors
 
(...) Because of the way BrickOS uses interrupts to handle active sensors, it's possible for sensors to be deprived of power for 300us or more, though typically the interval is only 30us or so. This is due to long interrupt latencies in BrickOS that (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
 
  Spurious bad readings from sensors
 
Hi, I instrumented Steve Hassenplug's legway code so that after it falls over it can dump sensor data and motor control valiables out to a PC. One of the things I noticed in this process is that aperiodically, the sensor inputs give a sensor reading (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
 
  cannot install brickOS
 
Hi, When I'm trying to install the Hitachi H8 cross compiler (on win2000), I have some errors during the installation like : sys/types.h: No such file or directory But at the end it says : GCC install end Done. :---...--- End Wed Feb 25 14:05:50 (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
 
  Use of lnp_addressing_write() in an RCX program.
 
Hello all. I wrote a small program using lnp_addressing_write() to remotely change the host address of one RCX from another. It doesn't work. I get an occasional flash of IR icon on receiving unit - that's it. Please take a look: int main(int argc, (...) (21 years ago, 24-Feb-04, to lugnet.robotics.rcx.legos)
 
  How to send button cmd or run pgm remotely from one RCX to another ?
 
I am trying to use lnp_addressing_write() or lnp_assured_write() to send commands (e.g. CMDdelete, CMDsethost) from one RCX to another. This seems to be the way it is handled in loader.c of the DLL utility. I am not having any success. Is there an (...) (21 years ago, 19-Feb-04, to lugnet.robotics.rcx.legos)
 
  Re: How to get RCX to display/change its LNP host address ?
 
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 (...) (21 years ago, 19-Feb-04, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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