Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

brickOS Kernel Developer Compound List

Here are the classes, structs, unions and interfaces with brief descriptions:
_pchain_tPriority chain data structure
_tdata_tTask data structure
BatteryBattery-sensor interface (RCX Internal)
critsecCritical section data structure
LampLamp control interface
LightSensorLight-sensor interface (active/passive mode)
MotorMotor control interface
MotorPair\class MotorPair MotorPair.H c++/MotorPair.H Pair-of-motors control interface. Often our robots use two motors, one on either side, which should be controlled together as one. This class makes this simple by allowing the coder to treat the pair as a single motor. The two motors can be connected to any of the output ports. When creating an instance of this class, simply specify which two output ports are involved. The normal Motor methods speed(), direction(), forward(), reverse(), brake(), and off() still apply. This class adds two new types of control:
  • turning about the center (between the two wheels) [left(), right()]
  • turning while using one of the wheels as the center of rotation [pivotLeft() and pivotRight()].
Note:
both motors will be turned off when this class is destroyed.
See also:
The other control classes: Motor, Sound, Lamp
MotorStateThe motor status type
note_tThe note structure describing a single note.
Note:
a song to play is made up of an array of these structures which is then handed to dsound_play() [in C] or Sound::play() [in C++]. The last entry in the list should have the {pitch} value set to PITCH_END Rests should be specified by placing PITCH_PAUSE in the {pitch} value. The duration of the rest is placed in {length}
program_t
RotationSensorRotation-sensor interface (active mode)
SensorBasic sensor interface
SoundSound generation interface
TemperatureSensorTemperature-sensor interface
TouchSensorTouch-sensor interface (passive mode)

brickOS is released under the Mozilla Public License.
Original code copyright 1998-2002 by the authors.

Generated on Tue Dec 10 00:09:18 2002 for brickOS Kernel Developer by doxygen 1.2.15