     Command msg(a);
 
     if (msg.getIdentifier() == "SLP") {
-      int numberOfPoints     = msg.getParameterValue('L').toInt();
-      int transitionDuration = msg.getParameterValue('T').toInt();
-      int litDuration        = msg.getParameterValue('D').toInt();
-      String colors          = msg.getParameterValue('P');
-
+      int numberOfPoints     = msg.getParam('L').toInt();
+      int transitionDuration = msg.getParam('T').toInt();
+      int litDuration        = msg.getParam('D').toInt();
+      String colors          = msg.getParam('P');
+      
       cube.setTransitionParameters(numberOfPoints, transitionDuration, litDuration, colors);
     }
+    digitalWrite(19, HIGH);
   }
 
 

  // GND
  pinMode(4, OUTPUT);
  digitalWrite(4, LOW);


  Serial.begin(9600);

  radio.printDetails();

  Serial.println(F("Connected"));
  digitalWrite(19, HIGH);




