Hey,
I am trying to use the zeRGBa on the MobilePhone with an LED Strip. But I don’t know which typ of data stream I have to use. When I tried an Integer there where no values for param[0-2]. When I used a string and converted it with param[0-2].asInt() it only worked once and I really don’t no why…
BLYNK_WRITE(V0) {
int r = param[0].asInt();
int g = param[1].asInt();
int b = param[2].asInt();
// Do something with r and g and b
Serial.print("R = ");
Serial.print(r);
Serial.print("; G = ");
Serial.println(g);
Serial.print("; B = ");
Serial.println(b);
}
Thats my Blink Write Code.
Like I said. No matter what kind of datastream I used there where never a output in the Serial monitor