Class Hierarchy   Compound List   File List   Compound Members   File Members  

direct-motor.h File Reference

direct motor access. More...

Compounds

Defines

Enumerations

Functions

Variables


Detailed Description

direct motor access.

Author(s):
Markus L. Noga <noga@inrialpes.fr>


Enumeration Type Documentation

enum MotorDirection

the motor directions.

Enumeration values:


Function Documentation

const void motor_a_dir (MotorDirection dir)

set motor A direction.

Parameters:
dir - the direction

const void motor_b_dir (MotorDirection dir)

set motor B direction.

Parameters:
dir - the direction

const void motor_c_dir (MotorDirection dir)

set motor C direction.

Parameters:
dir - the direction

const void motor_a_speed (unsigned char speed)

set motor A speed.

Parameters:
speed - the speed

const void motor_b_speed (unsigned char speed)

set motor B speed.

Parameters:
speed - the speed

const void motor_c_speed (unsigned char speed)

set motor C speed.

Parameters:
speed - the speed

Variable Documentation

const unsigned char dm_a_pattern[4]

motor drive patterns.

to be indexed with MotorDirections

See also:
MotorDirections

const unsigned char dm_b_pattern[4]

to be indexed with MotorDirections

See also:
MotorDirections

const unsigned char dm_c_pattern[4]

to be indexed with MotorDirections

See also:
MotorDirections

legOS-0.1.7 is released under Mozilla Public License. Original code © 1998-1999 by Markus L. Noga.