To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 818
  Painful details on RCX.pm problems
 
More RCX.pm stuff in case John Quillan (to whom I'll be forever indebted, if this ever works) shows up. So I have this code: #!/usr/bin/perl use LEGO::RCX; my $rcx = new LEGO::RCX(); $rcx->ping(); $k = 0; while($k ne 10) { print($k.") (...) (24 years ago, 6-Nov-00, to lugnet.robotics.rcx)
 
  Re: Painful details on RCX.pm problems
 
Luis, I am here. I tryed your code. The interesting this is the first time I tryed it I got the following results with the towwer turning off after 5. But repeated runs of the program dont seem to have any problems. 0) 41 1) 41 2) 44 3) 45 4) 40 (...) (24 years ago, 7-Nov-00, to lugnet.robotics.rcx)
 
  Re: Painful details on RCX.pm problems
 
Luis, I found a half dead 9V battery and put it in my tower. I am getting similar results, except I hang after the first or second reading. Something like: 0) 41 1) 41 And that is it. I for got to ask is it connisistantly after the 4th one things go (...) (24 years ago, 8-Nov-00, to lugnet.robotics.rcx)
 
  Re: Painful details on RCX.pm problems
 
Yes, it does in fact happen more or less often sometimes (though it is usually consistent.) It has been an awful long time since I changed batteries... I'll get a new set tomorrow and take a look at it. Thanks a bunch, John... Luis (...) (24 years ago, 9-Nov-00, to lugnet.robotics.rcx)

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