 //FLAGS -- Mainloop
 int flag_check_ldr =  0;
 int flag_check_5v_brownout = 1;
-int flag_check_12v_brownout = 0;
+int flag_check_12v_brownout = 1;
 
 // FLAGS -- Status
 int flag_5v_brownout_detected = 0;

	pinMode(pin_ldr_1,INPUT);
	pinMode(pin_ldr_2,INPUT);
    pinMode(debug_pin,OUTPUT);
        
	// Safety Initializations
	turn_off_dynamixel();


//THRESHOLDS
int threshold_12v = 700; //#CHANGE
int threshold_5v = 512; //#CHANGE
int threshold_ldr = 512;

//Pin Definitions
char pin_5v_brownout = A2;
char pin_12v_brownout = A3;
char pin_ldr_1 = A5;
char pin_ldr_2 = A4;
int pin_relay_5v = 6;
int pin_relay_12v = 7;

