   digitalWrite(LED_BUILTIN, led_value);
 }
 
-void turn_camera_on(int camera_pin) {
+void turn_pin_on(int camera_pin) {
   digitalWrite(camera_pin, HIGH);
 }
 
-void turn_camera_off(int camera_pin) {
+void turn_pin_off(int camera_pin) {
   digitalWrite(camera_pin, LOW);
 }

  pinMode(CAM_01_PIN, OUTPUT);
  pinMode(CAM_02_PIN, OUTPUT);

  // Turn on Camera relays
  turn_camera_on(CAM_01_PIN);
  turn_camera_on(CAM_02_PIN);

  if (! accelerometer.begin()) {
    while (1);

    switch (pin_num) {
    case CAM_01_PIN:
      if (pin_status == 1) {
        turn_pin_on(CAM_01_PIN);
      } else {
        turn_pin_off(CAM_01_PIN);
      }
      break;
    case CAM_02_PIN:
      if (pin_status == 1) {
        turn_pin_on(CAM_02_PIN);
      } else {
        turn_pin_off(CAM_02_PIN);
      }
      break;
    case RESET_PIN:
      if (pin_status == 1) {
        turn_pin_off(RESET_PIN);
      }
      break;
    case LED_BUILTIN:
