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 (-5)
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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