hello all,
i’m used nodemcu esp 8266 and LED light . i connected LED to D7.
my problem, The NodeMCU is not connecting to my wifi router and show for my hard resetting via RTS pin
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.
*************************************************************
This example runs directly on ESP8266 chip.
Note: This requires ESP8266 support package:
https://github.com/esp8266/Arduino
Please be sure to select the right ESP8266 module
in the Tools -> Board menu!
Change WiFi ssid, pass, and Blynk auth token to run :)
Feel free to apply it to any other example. It's simple!
*************************************************************/
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "zviMJ7vZ8oC1yyHFjzQh_Zsapq6Nv1MV";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "HUAWEI-E5330-5CE8";
char pass[] = "eg871rr4";
void setup()
{
// Debug console
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}```
---------------------------------------------------------------------------------------------------------------------------
Executable segment sizes:
IROM : 247340 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 27736 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1308 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 3068 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25560 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 279452 bytes (26%) of program storage space. Maximum is 1044464 bytes.
Global variables use 29936 bytes (36%) of dynamic memory, leaving 51984 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port COM7
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:dd:c2:30:a3:4b
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 283600 bytes to 205209...
Writing at 0x00000000... (7 %)
Writing at 0x00004000... (15 %)
Writing at 0x00008000... (23 %)
Writing at 0x0000c000... (30 %)
Writing at 0x00010000... (38 %)
Writing at 0x00014000... (46 %)
Writing at 0x00018000... (53 %)
Writing at 0x0001c000... (61 %)
Writing at 0x00020000... (69 %)
Writing at 0x00024000... (76 %)
Writing at 0x00028000... (84 %)
Writing at 0x0002c000... (92 %)
Writing at 0x00030000... (100 %)
Wrote 283600 bytes (205209 compressed) at 0x00000000 in 18.5 seconds (effective 122.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...