Hello,
I was following this guide between a microcontroller and an ESP 32, where its simple communication.
Teensy 4.1 Code
So what's basically happening is that Teensy is continually printing out "Hello Boss" on the serial monitor, but whenever I upload the code to my ESP32, I'm not getting
and whenever I try to press reset on my ESP32 I get a bunch of garble
� % L0N �!!!��)�1�!��
If someone can help me understand why I'm getting the things I'm getting, I would really appreciate it.
I was following this guide between a microcontroller and an ESP 32, where its simple communication.
Teensy 4.1 Code
Code:
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("Hello Boss");
delay(1500);
}
Code:
#define RXp2 3
#define TXp2 1
ESP32=E Code
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial2.begin(9600, SERIAL_8N1, RXp2, TXp2);
}
void loop() {
Serial.println("Message Received: ");
Serial.println(Serial2.readString());
}
So what's basically happening is that Teensy is continually printing out "Hello Boss" on the serial monitor, but whenever I upload the code to my ESP32, I'm not getting
Code:
Message Recieved:
Hello Boss
and whenever I try to press reset on my ESP32 I get a bunch of garble
� % L0N �!!!��)�1�!��
If someone can help me understand why I'm getting the things I'm getting, I would really appreciate it.