 
 void toggle_led() {
   led_value = ! led_value;
-  digitalWrite(led_pin, led_value);
+  digitalWrite(LED_BUILTIN, led_value);
 }
 
 void turn_camera_on(int camera_pin) {

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

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


const int CAM_01_PIN = 5;
const int CAM_02_PIN = 6;

int led_value = LOW;

Adafruit_MMA8451 mma = Adafruit_MMA8451();
