nodemcu: Hard resetting via RTS pin

Prasad K's picture

Offline

Joined: May 17, 2020

Replies: 3
nodemcu: Hard resetting via RTS pin
May 17, 2020 - 10:18am

While following instructions in https://circuitdigest.com/microcontroller-projects/interfacing-ssd1306-oled-display-with-esp8266-nodemcu, when uploading, the run ends with the following output:

Wrote 267472 bytes (196934 compressed) at 0x0 in 17.6 seconds...

Hash of data verified

  • Leaving...
  • Hard resetting via RTS pin...

The OLED display is not showing the messages sent. This issue is happening with all examples given in the Arduino IDE. The board selected is "NodeMCU 1.0" and the parameters are as default.

Can someone help the meaning of this message and how to make it work?

Thanks

-Prasad

 

 

Prasad K's picture

Offline

Joined: May 17, 2020

Replies: 3
nodemcu: Hard resetting via RTS pin
May 17, 2020 - 12:05pm

The code that made difference is below. The commented lines come as part of SSD1306 code in IDE and the uncommented code comes from the tutorial code.

 

// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)

//#define OLED_RESET     LED_BUILTIN //4 // Reset pin # (or -1 if sharing Arduino reset pin)

//Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

// Declaration for SSD1306 display connected using software SPI (default case):

#define OLED_MOSI   D7

#define OLED_CLK   D5

#define OLED_DC    D2

#define OLED_CS    D8

#define OLED_RESET D3

Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT,

  OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);

 

Please close this topic.

 

Thanks

-Prasad