   }
   if (!limitingN) {
     // Adjust voltage within 10mv
-    if (vSenseN > (setVP + 10)) {
-      dacValP++;
-      PosDac.output(dacValP);
-    }
-    if (vSenseP < (setVP - 10)) {
-      dacValP--;
-      PosDac.output(dacValP);
+    if (vSenseN > (setVN + 10)) {
+      dacValN++;
+      NegDac.output(dacValN);
+    }
+    if (vSenseN < (setVN - 10)) {
+      dacValN--;
+      NegDac.output(dacValN);
     }
   }
 }

          // Diagnostic function - set DAC2
          NegDac.output(param);
          break;
      }
    }
  }


void readEEPROM() {
  stateOEP = readAddress(0);
  digitalWrite(OE_P, !stateOEP);
  stateOEN = readAddress(1);
  digitalWrite(OE_N, !stateOEN);
  stateITE = readAddress(2);
  digitalWrite(ITE, stateITE);
  stateAC1 = readAddress(3);
