// Low Primer alarm

const byte primer_PRX = A0;
const byte ramDown_PRX=A1;
const byte alarmLED = 6;

bool primersPresent;
bool ramIsDown;

void setup() {
  pinMode(primer_PRX, INPUT_PULLUP);
  pinMode(ramDown_PRX, INPUT_PULLUP);
  pinMode(alarmLED, OUTPUT);


}

void loop() {
  primersPresent =(digitalRead(primer_PRX) ? true:false);
  ramIsDown =(digitalRead(ramDown_PRX) ? true:false);

  if(primersPresent and ramIsDown){
    digitalWrite(alarmLED, HIGH);
  }
  else{
    digitalWrite(alarmLED, LOW);
  }
}
Primer Sense
Ram Down PRX
Low Primer Alarm