// global settings
#ifndef SETTINGS_H
#define SETTINGS_H

#define DEBUG true

// motor hardware settings
#define MOTOR_L 8      // the left motor's pololu #
#define MOTOR_R 9      // the right motor's pololu #
#define MOTOR_FAN 6      // the right motor's pololu #
#define FULL_SPEED 127 // actual value to send  to the motor to go full speed (- is full backwards)
#define MIN_SPEED 25   // minimum stall speed
#define MAX_CHANGE 10  // max wheel change per Update() cycle (percent * 100)
#define FORWARD 0      // forward polarity (depends on motor wiring)
#define BACKWARD 1     // opposite of FORWARD

// servo hardware settings
#define SERVO_ARM 0    // arm servo's pololu #

// OS IO settings
#define BASE 0x378 // base parallel port
#define SERIALPORT "/dev/ttyS0"
#define BAUDRATE 4800

// non-configurable constants
#define PARALLELPORT 0x378 // "/dev/lp0"
#define PORT_A 0
#define PORT_B 1
#define PORT_C 2

#endif
