Re: ESP8266 not responding to arduino sketch
Posted: Wed Nov 18, 2015 10:57 am
Modified the code as shown below
It returns "Nothing in serial buffer." . The ESP still responds to AT commands from Serial montior.
Code: Select all
#include <SoftwareSerial.h>
SoftwareSerial serial(2,3);
void setup()
{
Serial.begin(115200);
serial.begin(115200);
serial.println("AT\r\n");
if(serial.available() >0)
{
Serial.println(serial.read());
}
else
{
Serial.println("Nothing in serial buffer.");
}
}
void loop()
{
}
It returns "Nothing in serial buffer." . The ESP still responds to AT commands from Serial montior.