To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 2883
  How to find out if the motors are running using Spirit.OCX
 
Does anyone know if it's possible to find out if the Mindstorms motors are active ? -- Did you check the web site first?: (URL) (26 years ago, 16-Jan-99, to lugnet.robotics)
 
  Re: How to find out if the motors are running using Spirit.OCX
 
it sure is! from a visual basic perspective, use: RCX.Poll(3, n) given your spirit is named RCX and "n" is the motor you want to check (0-2). the byte that is returned is packed as follows (from the spirit.ocx sdk): Bit 7: ON/OFF 1/0 Bit 6: (...) (26 years ago, 17-Jan-99, to lugnet.robotics)

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