   }
 }
 
+boolean isOFF(byte pin) {
+  if (digitalRead(pin) == OFF) {
+    return true;
+  } else {
+    return false;
+  }
+}
+
+void turnON(byte pin) {
+  if (isOFF(pin)) {
+    digitalWrite(pin, ON);
+  }
+}
+
+void turnOFF(byte pin) {
+  if (isON(pin)) {
+    digitalWrite(pin, OFF);
+  }
+}
+// ===
+
 void reset() {
-  if (digitalRead(sensor.reset) == !ON) { // If reset sensor is pressed.
+  if (isOFF(sensor.reset)) { // If reset sensor is pressed. (PULLUP)
     cycle.reset(); // Resets the cycle;
   }
+}
+
+void weldersPWM() {
+  !vWelder.lock ? vWelder.pwm.on() : vWelder.pwm.off();
+  !hWelder.lock ? hWelder.pwm.on() : hWelder.pwm.off();
+  !dWelder.lock ? dWelder.pwm.on() : dWelder.pwm.off();
 }
 
 void lockAll() {

    // 3 empty cycles.
    cycle.start(); // Starts the cycle clock, if not started yet.
    cycle.update(); // Updates the cycle clock.
    vWelder.pwm.on();
    hWelder.pwm.on();
    dWelder.pwm.on();
    if (digitalRead(feeder.out) == ON) { // If the feeder is ON:
      feeder.button.next(); // Simulate button press and.
      digitalWrite(feeder.out, feeder.button.state()); // Turn the feeder OFF.

  unsigned long stop;
  f.stop == 0 ? stop = 0 : stop = (f.stop * cycle.last()) / 1500;
  if (f.lock == true) { // Locked function
    if (isON(f.out)) { digitalWrite(f.out, OFF); }
  } else { // Unlocked function.
    if (start < stop && BETWEEN(cycle.now(), start, stop)) {
      if (f.name == knife.name) { knifeSecurity(); } // Before knife is ON.
