   Serial.flush();
 
   // Turn off LED inside camera box
-  pinMode(led_pin, OUTPUT);
-  digitalWrite(led_pin, LOW);
+  pinMode(LED_BUILTIN, OUTPUT);
+  digitalWrite(LED_BUILTIN, LOW);
 
   // Setup Camera relays
   pinMode(CAM_01_PIN, OUTPUT);

#define DHTPIN 4 // DHT Temp & Humidity Pin
#define DHTTYPE DHT22   // DHT 22  (AM2302)

int CAM_01_PIN = 5;
int CAM_02_PIN = 6;

int led_pin = 13;
int led_value = LOW;

Adafruit_MMA8451 mma = Adafruit_MMA8451();

            turn_camera_off(CAM_02_PIN);
          }
          break;
        case LED_BUILTIN:
          digitalWrite(pin_num, pin_status);
          break;
      }
