     gaugeColor = newColor;
     Blynk.setProperty(V0, "color", gaugeColor);
   }
+
+  Blynk.virtualWrite(V0, gaugeValue);
 }
 
-BLYNK_WRITE(V1) {
-  gaugeValue = param.asInt();
-}
-

 * You can set predefined properties of any widget. Like color, label
 *
 * Project setup in the Blynk app:
 *   Gauge widget (0...100) on V0 with min 0 and max 255
 *   Slider widget (0...100) on V1 with min 0 and max 255
 *
 **************************************************************/


#define BLYNK_RED       "#D3435C"
#define BLYNK_DARK_BLUE "#5F7CD8"

String gaugeColor;

BLYNK_WRITE(V1) {
  int gaugeValue = param.asInt();

  String newColor;
  if (gaugeValue > 80) {
