Zergba and FastLED for blynk ios app

void process_fastled()
{
  // your FastLED code in here
}

BLYNK_WRITE(V1)
{
  red = param.asInt();
  process_fastled();
}

Pete.

Here is the code:

int red, green, blue;

CRGB leds[NUM_LEDS]; 

void fastled()
{
  fill_solid(leds, NUM_LEDS, CRGB(red, green, blue));
  FastLED.show();
}

BLYNK_WRITE(V1)
{
  red = param.asInt();
  fastled();
}

BLYNK_WRITE(V2)
{
  green = param.asInt();
  fastled();
}

BLYNK_WRITE(V3)
{
  int blue = param.asInt();
  fastled();
}

BLYNK_CONNECTED()
{
  Blynk.syncVirtual(V1);
  Blynk.syncVirtual(V2);
  Blynk.syncVirtual(V3); 
}

Should be

blue = param.asInt();

Oh yes I didn’t saw this my bad. Is the code corect ?

Have you tested it?

Pete.

I don’t have the material available yet. I’ll give you some news about the project.

@Babacar Hello. Bug with string datastream will be fix in next app version

Regards

Is it possible to rationalise the Advanced/Merge naming convention between the iOS and Android versions of the app so that the documentation makes sense to both sets of users?

Pete.

When the next patch will be upload ?

@PeteKnight Megre button will be Advanced button. And also will be new design in settings of Zergba widget

1 Like

While it’s hard to say