Unable to serial print RGB values from zeRGBa widget

Hi,
I must be doing something fundamentally wrong here but can’t seem to figure it out!!
All I’m trying is to use an example code for the zeRGBa widget, read the values, print them on the serial monitor window and set the appropriate color using the neo pixel library.

Hardware: WeMos D1 mini
Code:

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Adafruit_NeoPixel.h>
#include SPI.h
#define PIN            1 // GPIO pin
#define NUMPIXELS      3 // Number of pixels in strip
#define BLYNK_PRINT Serial    
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);

char auth[] = "**************";
    // Your WiFi credentials.
    // Set password to "" for open networks.
    char ssid[] = "########";
    char pass[] = "**********";

void setup() {
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
  pixels.begin();
  pixels.show();
}

BLYNK_WRITE(V1) // Widget WRITEs to Virtual Pin V1
{   
int R = param[0].asInt();
int G = param[1].asInt();
int B = param[2].asInt();
  Serial.println(R);
  Serial.println(G);
  Serial.println(B);

for(int i=0;i<NUMPIXELS;i++){
    // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    pixels.setPixelColor(i, pixels.Color(R,G,B)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
}

}

void loop()
{
  Blynk.run();
}

Any reason you are referencing the TX pin on the ESP?

Hmmm…my understanding was that this is the pin D1 where I’ve got my WS2812b connected…am I wrong?

Yes you are wrong and it’s imperative you learn the pinout of your ESP.

You could use “D1” rather than 1 but the proper way is to reference the GPIO number for D1 which is 5.

See pinout at https://www.wemos.cc/product/d1-mini-pro.html

Blynk examples showing 9600 are for super slow Arduino’s and the like, not the super powerful ESP’s. Increase this to 115200.

Thanks Costas…that fixed it…thanks a ton again.