 
 volatile byte liftState = LOW;
 volatile byte armState = LOW;
-volatile boolean UPDATE = true;            // flag for printing updated info
+
 
 void setup()
 {  

#include <AccelStepper.h>
#include <Servo.h>

// #defines are macros for faster than digitalWrite() read & write.
//  *http://masteringarduino.blogspot.com/2013/10/fastest-and-smallest-digitalread-and.html

#define portOfPin(P)\

    newAnalog1 = analogRead(PROX_PIN);
    newAnalog2 = analogRead(CARD_PIN);
    
    // auto-servo position based on bin and sensor threshold
    fanDown(lowAng, highAng, destinationArmPos);      
    
    // loading by default, so moving down, one card at a time
    if (!LOADED){
