 // Go to the Project Settings (nut icon).
 char auth[] = "YourAuthToken";
 
-WidgetLED led(5);
+WidgetLED led1(1);
+WidgetLED led2(2);
 
 SimpleTimer timer;
 

 * Blynk using a LED widget on your phone!
 *
 * App dashboard setup:
 *   LED widget on V5
 *
 **************************************************************/


  Blynk.begin(auth);

  timer.setInterval(1000, blinkLedWidget);
  timer.setInterval(200, fadeLedWidget);
}

void blinkLedWidget()
{
  if (led1.getValue()) {
    led1.off();
    BLYNK_LOG("LED1: off");
  } else {
    led1.on();
    BLYNK_LOG("LED1: on");
  }
}

void fadeLedWidget()
{
  static int value = 0;
  static int delta = 20;
  value += delta;
  if (value > 255 || value < 0) {
    delta = -delta;
  } else {
    BLYNK_LOG("LED2: %d", value);
    led2.setValue(value);
  }
}

