 {
   // Process incoming serial data, and perform callbacks
   messenger.feedinSerialData();
+
+  // Update Led-Data on SPAD.neXt
+  int ledVal = digitalRead(ledPin);
+  if ((ledVal != lastLedState) && isReady)
+  {
+     lastLedState = ledVal;
+     messenger.sendCmd(kLed,ledVal);
+  }
+ 
 }

  kHeading = 11, // CMDID for data updates from SPAD.neXt
};

void attachCommandCallbacks()
{
  // Attach callback methods

// Called when a received command has no attached function
void onUnknownCommand()
{
  messenger.sendCmd(kDebug,"UNKNOWN COMMAND"); 
}

// Callback function to respond to indentify request. This is part of the
