   }
 }
  //Dit is gewoon om de status van de poorten te printen in de seriële console.
+ //DEBUG, Niet nodig in finale code
 void printStatusPorts() {
   Serial.print("PORTB: ");
   Serial.print(PORTB, HEX);

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

char inData[25];
int x = 0;

    unsigned int number = hex2int(inData);
    Serial.print(F("Onvangen data in binair: "));
    print_binary(number,16);
    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("__________________________________________"));
