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 / *9770 (-10)
  Re: Possible bug? Simple light sensor condition checking.
 
(...) It looks to me like the c compiler optimized the assignment to the variable away, since there is no external method call (shutdown_requested() is just a macro). (...) You should make this volatile int offonpad = 0; (...) You should also put an (...) (17 years ago, 16-Jul-07, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug? Simple light sensor condition checking.
 
I use BrickOS (LegOS) but I'm not expert in the inner workings. The code you have here appears fine to me. So, it may be a bug in BrickOS, or a problem elsewhere in your code. I will say I've ran into some interesting things when using tasks. (...) (17 years ago, 16-Jul-07, to lugnet.robotics.rcx.legos)
 
  Possible bug? Simple light sensor condition checking.
 
I tried my own skill on writing a program for the included lego test pad (RIS 2.0), and I discovered something weird. The following code does set the conditions right, but the following code doesn't set the conditions right if I comment out the (...) (17 years ago, 16-Jul-07, to lugnet.robotics.rcx.legos)
 
  Re: Sign of center pin on power adaptor
 
(...) You must be dealing with a different release of the battery pack than I am, since the only portion of the US instructions that mentions numbers states the output of the battery pack (10VAC, 7VA) and the approximate charge time (4 hours). There (...) (17 years ago, 12-Jul-07, to lugnet.robotics.rcx)
 
  Re: problem with the RCX
 
"Brian Davis" <brdavis@iusb.edu> wrote in message news:JL1oK5.K84@lugnet.com... (...) This might help! (URL) (...) (17 years ago, 12-Jul-07, to lugnet.robotics.rcx)
 
  Re: problem with the RCX
 
(...) Is the RCX still working? Does it "get hot" when it's running an unloaded motor? I would have thought that the 500 mA limit within the RCX case would prevent this, but perhaps it's marginal for some plastic piece "nearby". If the RCX is dead, (...) (17 years ago, 12-Jul-07, to lugnet.robotics.rcx)
 
  problem with the RCX
 
One of my students accidently left a tied up gear train running for a while, i.e. In the midst of running a RCX, the case not only gets very hot, but also has a very strong plastic burning smell. At first I thought it is due to the stuck gear train, (...) (17 years ago, 11-Jul-07, to lugnet.robotics.rcx)
 
  Re: Sign of center pin on power adaptor
 
(...) I agree. (...) The spec on the train AC adapter exactly matches the spec in the Li-Ion battery pack instructions. Jürgen (17 years ago, 11-Jul-07, to lugnet.robotics.rcx)
 
  Re: Sign of center pin on power adaptor
 
(...) Whoops, I missed that there was a third option. I concur with this, as it's both the right voltage and confirmed AC. The mA rating, BTW, is a capacity rating, so it will work for anything that draws 800mA or less. The NXT adapter is rated for (...) (17 years ago, 11-Jul-07, to lugnet.robotics.rcx)
 
  Re: Sign of center pin on power adaptor
 
(...) All my train PSUs are 10V AC, but are rectified and regulated to a nice 9V internally. (17 years ago, 11-Jul-07, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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