   }
 
   // Set DACS
-  if (vSenseP != setVP) {
-    
+  if (!limiting) {
+    // Adjust voltage within 10mv
+    if (vSenseP > (setVP + 10)) {
+      dacValP--;
+      PosDac.output(dacValP);
+    }
+    if (vSenseP < (setVP - 10)) {
+      dacValP++;
+      PosDac.output(dacValP);
+    }
   }
 }
 


int dacValP = 0;
int dacValN = 0;

byte stateOEP = 0;
byte stateOEN = 0;

    previousMillis = currentMillis;
    tick();
  }
}
