   sendDone();
 
   //Write the ramsize
-  int16_t buf = RAMEND + 1;
+  uint16_t buf = RAMEND + 1;
   writeToSerial(&buf, 2);
   
   //Write the eeprom size

  if(EEPROM.read(EEPROM_INITIALISED_FLAG) != 42) {
    Serial.println("INIT");
     //Set the current profile id to zero
     int64_t v = 0;
     EEPROMwrite64(EEPROM_CURRENT_PROFILE_ID, &v);
     
     //Set the led Count to 60

 */
void serialEvent() {
  //Read the task that should be performed
  uint8_t task = read8();
  
  //Read the length of the complete transmission
  uint16_t transmissionLength = read16();
  writeToSerial(&transmissionLength, 2);
  
  //DEBUGGING REMOVE
