Class Hierarchy   Compound List   File List   Compound Members   File Members  

RotationSensor Class Reference

LEGO rotation sensor class. More...

Class diagram for RotationSensor:

Sensor

List of all members.

Public Members

Protected Members


Detailed Description

LEGO rotation sensor class.


Member Function Documentation

RotationSensor::RotationSensor (unsigned * addr = s1, int initial = 0)

Creates a rotation sensor at the specified address.

Parameters:
addr - One of Sensor::s1, Sensor::s2 or Sensor::s3.
initial - Initial rotational position.

Rotation sensors are always active.

The documentation for this class was generated from the following files:
legOS-0.1.7 is released under Mozilla Public License. Original code © 1998-1999 by Markus L. Noga.