             pixels[N].B = (uint8_t)packetBuffer[i+3];
         } 
       ledstrip.show(pixels);
-      Serial.print("*");
-      #ifdef PRINT_FPS
+      
+      if(PRINT_FPS == 1)
+      {
+        Serial.print("*");
         fpsCounter++;
-      #endif
+      }
   }
-  #ifdef PRINT_FPS
+ if(PRINT_FPS == 1){
   if(millis() - secondTimer >= 1000)
   {
     secondTimer = millis();

}

uint8_t N = 0;
#ifdef PRINT_FPS
int fpsCounter = 0;
int secondTimer = 0;
#endif
void loop() {
    // Read data over socket
    int packetSize = port.parsePacket();

    Serial.printf("FPS: %d\n", fpsCounter);
    fpsCounter = 0;
  }
 }
}
