   power = param.asInt();
   if ( power == 0 ) {
     Serial.println("Power OFF");
-    FastLED.clear();
+    for (int i = 0; i < NUM_LEDS; i++)
+      leds[i].setRGB( 0, 0, 0);
+    FastLED.show();
   }
   else
     Serial.println("Power ON");

/*
   Tacco corno GCIB 2017 Focherini Carpi
   The program is made for ESP8266 NodeMCU, one NeoPixel strip on pin D5.
   The dashboard is Blynk, with On-Off -switch-,single color -button- and 
   zeRGBa -widget- .
   I used a level shifter for control the data to the NeoPixel.
   
   Maker: Davide Gariselli
   Teacher: Elena Menozzi
*/

    int R = param[1].asInt();
    int B = param[2].asInt();

    for (int i = 0; i < NUM_LEDS; i++) {
      leds[i].setRGB( R / 4, G / 4, B / 4);
    }
    FastLED.show();

