Difficulty to light a Led with Blynk

Good evening everyone
I had a problem with my Blynk
I follow all the information to create my new project and I receive the email containing the ID and I copy the ID in my program in its place and I modify the port also in the library but if I order my Led by pressing ON or OFF nothing happens.
And in notification it writes to me ‘‘Wasn’t online yet’’.

please help me please

What exactly does this mean?

What hardware are you using, how is your LED connected to your board, what internet connection method are you using, what code are you running, what does your serial monitor show?


I want to talk about port choice in Blynk-ser

I connected the + of my Led to pin D8 and the - to the GND by a 220hom resistor.
I establish the connection via USB
I use the code in the example file - Blynk,
I am not yet displayed in the serial monitor

Thank you for the understanding

If you can leave me your whatsapp number it will be my pleasure.


If you want my help then you’ll need to do it via this forum and you’ll need to start by telling me exactly what changes you’ve made to the Blynk library and why, and you’ll need to answer the rest of the questions I asked.


I use the code in the " file -example - Blynk".
I don’t know how to establish a connection between my arduino UNO card and the server.

Thank you for the understanding

It’s not a modification but just choose the port in the “libraries\Blynk\scripts\blynk-ser”.

So, are you saying that you have not modified the Blynk libraries, but instead you have edited the USB batch file?

If so, then what does the batch file look like now, and what does your command prompt window show?

It would be useful to know EXACTLY what code you are using.


  Download latest Blynk library here:

  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials: http://www.blynk.cc
    Sketch generator:           http://examples.blynk.cc
    Blynk community:            http://community.blynk.cc
    Follow us:                  http://www.fb.com/blynkapp

  Blynk library is licensed under MIT license
  This example code is in public domain.

  =>          USB HOWTO: http://tiny.cc/BlynkUSB

  Feel free to apply it to any other example. It's simple!

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT DebugSerial

// You could use a spare Hardware Serial on boards that have it (like Mega)
#include <SoftwareSerial.h>
SoftwareSerial DebugSerial(2, 3); // RX, TX

#include <BlynkSimpleStream.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = " 6XqEF7ooovUjXuuZBXZGKekhsqhh93gU";

void setup()
  // Debug console

  // Blynk will work through Serial
  // Do not read or write this serial manually in your sketch
  Blynk.begin(Serial, auth);

void loop()

hello my dear here is the code
I control the led from my cell phone with Blynk but nothing happens.

In the serial monitor it’s my authentication token alone that is displayed online one after the other

@RAIMI please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:


Click the three dots…


You should then see the pencil icon…


I’ve tidied up your post that contained your sketch, as you had two copies of the code.

I can’t help you to solve this issue unless you provide the information that I’ve asked for…

The first of these questions requires a yes/no answer, but if the answer is “no” then you need to elaborate on that.

The next two questions require you to post your batch file (use triple backticks again) and for you to copy and paste the information from the command prompt window that opens when you run the USB batch file. This is NOT the serial monitor and you should not be opening the serial monitor unless you have an additional FTDI adapter connected to your SoftwareSerial debug port (pins 2 & 3).
Please copy and paste the contents of the command prompt window (again using triple backticks) rather than posting a screenshot.

I won’t comment further on this post until you’ve answered these three questions.


Connecting device at COM3 to blynk-cloud.com:80...
OpenC0C("\\.\COM3", baud=9600, data=8, parity=no, stop=1) - OK
Connect("blynk-cloud.com", "80") - OK

yes I modified the USB command file

is what the command file looks like

do you understand me now?
I apologize very much for the inconvenience