# Constants Module

UDP_IP = "127.0.0.1"
UDP_PORT = 5020
expectedPacketLength = 4

SERIAL_PORT = "/dev/ttyACM0"
SERIAL_BUADRATE = 9600

CW = 1
CCW = 0

FR_STEP = 12 #ARD PWM PIN 3  Gre 
FR_DIR = 6   #ARD PIN     2
FL_STEP = 5  #ARD PWM PIN 5
FL_DIR = 4   #ARD PIN     4  Gray
F_ENA = 18
F_M0 = 17
F_M1 = 16
F_M2 = 13

BR_DIR = 22  #ARD PIN     7  Yel
BR_STEP = 21 #ARD PWM PIN 6  Orng
BL_DIR = 20  #ARD PIN     8  Red
BL_STEP = 19 #ARD PWM PIN 9  Brown
B_ENA = 23
B_M0 = 24
B_M1 = 25
B_M2 = 27

F_ENA = 22
B_ENA = 24

MaxSpeedDelay = 0.005