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’’.
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 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
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.
/*************************************************************
Download latest Blynk library here:
https://github.com/blynkkk/blynk-library/releases/latest
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
http://twitter.com/blynk_app
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
DebugSerial.begin(9600);
// Blynk will work through Serial
// Do not read or write this serial manually in your sketch
Serial.begin(9600);
Blynk.begin(Serial, auth);
}
void loop()
{
Blynk.run();
}
@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:
```
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
InOut() START
DSR is OFF