 #define PIN_OP_ACG5 0
 
 // delays
-#define DELAY_LOOP 100
+#define DELAY_LOOP 10
 #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) ? HIGH : (digitalRead(pinL) ? LOW : NEUTRAL))
  {
    case HIGH:
      if ((adj += RAMP_ADJUST) > RAMP_MAX)
        adj = RAMP_MAX;
      break;

    case LOW:
      if ((adj -= RAMP_ADJUST) < RAMP_MIN)
        adj = RAMP_MIN;
      break;


// state == 0 to DELAY_OP-1 -> off / debounce, state == DELAY_OP -> on
uint8_t opState[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
// operation pins set to zero are skipped
uint8_t opPin[] = // this will hold bitmasks for i/o expander
{
  0,             // null
  0,             // action group 1
