To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 420
  Confusion regarding the POWER_OFF command.
 
I'm a little confused with the POWER_OFF word. From reading the documentation, I would have though the following would work: POWER_INIT : test BEGIN DO-WORK POWER_OFF 0 UNTIL ; When 'test' is executed, both 'DO-WORK' and 'POWER_OFF' are executed, (...) (24 years ago, 25-Jan-01, to lugnet.robotics.rcx.pbforth)
 
  RE: Confusion regarding the POWER_OFF command.
 
(...) I was too. It's a bit goofy, so I'll try to explain as I go... (...) That's fine - the only thning you need to do (I think - I'm away from my RCX) is to put POWER_INIT just before POWER_OFF. The POWER_INIT word initializes the interrupt (...) (24 years ago, 25-Jan-01, to lugnet.robotics.rcx.pbforth)

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