- Main Page
- Classes
- Files

- File List
- File Members

# device/Port.h

Go to the documentation of this file.

    00001 //
    00002 // Port.h
    00003 //
    00004 // Copyright 2009 by Takashi Chikamasa, Jon C. Martin and Robert W. Kramer
    00005 //
    00006
    00007 #ifndef PORT_H_
    00008 #define PORT_H_
    00009
    00018 enum ePortS
    00019 {
    00020         PORT_1 = 0,
    00021         PORT_2,
    00022         PORT_3,
    00023         PORT_4
    00024 };
    00025
    00029 enum ePortM
    00030 {
    00031         PORT_A = 0,
    00032         PORT_B,
    00033         PORT_C
    00034 };
    00035
    00039 enum ePower
    00040 {
    00041         POWER_OFF = 0,
    00042         POWER_LOWSPEED_9V = 1,
    00043         POWER_LOWSPEED = 2
    00044 };
    00045
    00047 #define NUM_PORT_S (4) // number of sensor ports
    00048
    00050 #define NUM_PORT_M (3) // number of motor ports
    00051
    00052 #endif