   if (encoderSignalA == 0)
   {
     pulses = pulses + 0.5;
-  }  
+  }
   if (encoderSignalA == 1)
   {
     pulses = pulses - 0.5;
   }
-  
+
   Serial.println(pulses);
   attachInterrupt(12, encoderRiseB, RISING);
 }

  {
    pulses = pulses - 0.5;
  }
  
  Serial.println(pulses);
  // Remember to attach interrupt with a new ISR
  attachInterrupt(11, encoderFallA, FALLING);

  {
    pulses = pulses - 0.5;
  }

  Serial.println(pulses);
  attachInterrupt(11, encoderRiseA, RISING);
}
