 // state pins
 #define PIN_LED 13 // status
 #define PIN_ENABLE 2 // this should be high to run
+
 // helm pins
 #define PIN_PITCH_U 12
 #define PIN_PITCH_D 11


// misc
#define OPS (sizeof(opPin) / sizeof(byte))


// helm control variables

//// helper functions
//

byte readDirection(byte pinH, byte pinL) // get control input
{
  return (digitalRead(pinH) ? FULL : (digitalRead(pinL) ? ZERO : HALF));
}

byte readThrottle(byte pin) // get throttle input
{
  return ((byte) (((float)analogRead(pin) * THOTTLE_MAX) / ANALOG_MAX));
}


