     unsigned int number = hex2int(inData);
     Serial.print(F("Onvangen data in binair: "));
     print_binary(number,16);
-    printStatusPorts();
     Serial.println(F("------------------------------------------"));
     double timeOne = micros();
     verwerkInput(number);
     double timeTwo = micros();
     double duration = timeTwo - timeOne;   
     printStatusPorts();
+    readStatusPorts();
     Serial.print(F("Tijd nodig om ALLE uitgangen te updaten[Microseconden]: "));
     Serial.println(duration); 
     Serial.println(F("__________________________________________"));

  Serial.print(PORTJ, HEX);
  Serial.print("=>");
  Serial.println(PORTJ, BIN);
}

//Print de mapping van de poorten
void printInfoPoorten(){
 Serial.print(F("Uitgang:        "));

int INPUT_COMMAND_PORTE = 0x00;
int INPUT_COMMAND_PORTH = 0x00;
int INPUT_COMMAND_PORTJ = 0x00;

unsigned int FEEDBACK_STATUS_PORT = 0x0000;

char inData[25];
int x = 0;
