       sysCfg.timelapse_count++;
       Serial.printf("Shutter On %d\n", current);
       digitalWrite(LEDPIN, LOW);
-      digitalWrite(SHUTTERPIN, LOW);
+      digitalWrite(SHUTTERPIN, HIGH);
       if (sysCfg.timelapse_interval < (pulse_d + interval_d + sysCfg.timelapse_pulse))
         sysCfg.timelapse_interval = (pulse_d + interval_d + sysCfg.timelapse_pulse);
       next_state = current + sysCfg.timelapse_interval - (pulse_d + interval_d + sysCfg.timelapse_pulse);

    case SHUTTER_CLOSE:
      Serial.printf("Shutter Off %d\n", current);
      digitalWrite(LEDPIN, HIGH);
      digitalWrite(SHUTTERPIN, HIGH);
      next_state = current + interval_d;
      break;




int pulse = 500;
int pulse_d = 800;
int interval = 500;
int interval_d = 10;
int frames = 20;
