 #define DIR_MAX 1023
 #define DIR_MIN -1023
 
+// convenience / shorthand
+#define PITCH_STICK digitalRead(PIN_PITCH_S)
+#define ROLL_STICK digitalRead(PIN_ROLL_S)
+#define YAW_STICK digitalRead(PIN_YAW_S)
+
+#define PITCH_PINS PIN_PITCH_U, PIN_PITCH_D
+#define ROLL_PINS PIN_ROLL_R, PIN_ROLL_L
+#define YAW_PINS PIN_YAW_R, PIN_YAW_L
+
 enum dir { full, half, zero };
 
 

#define PIN_OP_ACG5 0

// delays
#define DELAY_LOOP 15
#define DELAY_START 30
#define DELAY_OP 100


//// helper functions
//

int8_t getAdjustment(uint8_t pinH, uint8_t pinL, int8_t adj) // get control input
{
  switch (digitalRead(pinH) ? full : (digitalRead(pinL) ? half : zero))
  {
