 {
   s7s.write(0x77);
   s7s.write(decimals);
-}+}

#define SerialOdoOut  Serial3
#define SerialMonitor Serial

#if (VEHICLE_NUMBER == 1)
#define WHEEL_DIAMETER_MM 397
#endif
#if (VEHICLE_NUMBER == 2)
#define WHEEL_DIAMETER_MM 500
#endif
#define MEG 1000000
#define MAX_SPEED_KPH 50
#define MAX_SPEED_mmPs   ((MAX_SPEED_KPH * MEG) / 3600)

const int MAX_RC = 1800;
#endif
//  D3 = Int 1  Wheel Click

// Currently different interrupts are used for the motor phase feedback.
#if (VEHICLE_NUMBER == 1)
#define RC_MOTOR_FEEDBACK RC_RVS
const int IRPT_MOTOR_FEEDBACK = IRPT_RVS;
#endif
#if (VEHICLE_NUMBER == 2)
#define RC_MOTOR_FEEDBACK RC_RDR
const int IRPT_MOTOR_FEEDBACK = IRPT_RDR;
#endif

long speed_errors[ERROR_HISTORY];
long old_turn_degx1000;
