2 *******************************************************************************
\r
3 ** FILE NAME : nxt_config.h
\r
5 ** ABSTRUCT : NXT device configration
\r
6 *******************************************************************************
\r
9 #ifndef _NXT_CONFIG_H_
\r
10 #define _NXT_CONFIG_H_
\r
12 #include "ecrobot_interface.h"
\r
14 /* NXT motor port configuration */
\r
15 #define PORT_MOTOR_R NXT_PORT_B
\r
16 #define PORT_MOTOR_L NXT_PORT_C
\r
17 /* NXT sensor port configuration */
\r
18 #define PORT_SONAR NXT_PORT_S2
\r
19 #define PORT_GYRO NXT_PORT_S4
\r
20 /* NXT Bluetooth configuration */
\r
21 #define BT_PASS_KEY "1234"
\r