hi everyone,
I have connected the ESP to the Arduino (like in attachment) but with RX/TX to pin 0 and 1, instead 10 and 11.
(with an empty sketch)
I open the Serial Monitor... and the ESP respond to me correctly.
I send "AT"
It response "OK"
etc.
after I was trying to make this directly between Arduino and Esp.
I have moved the RX/TX to 10 and 11 (like in attachment)
and I have this code:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11);
void setup() {
Serial.begin(9600);
mySerial.begin(115200);
mySerial.println("AT");
delay(5); // already try more than 5
if (!mySerial.find("OK")) Serial.print("ok not found!");
}
void loop() {
}
but the Serial Monitor always return to me "ok not found!".
can someone help me?
someone have an basic example really tested?
(because online I found too much different examples
)
thank you in advance
