-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Describe the bug
When using the Serial monitor on Arduino IDE or any other software like PuTTY the STM32 will successfully send data to the computer, but it fails to receive and consequently reply
To Reproduce
This is the code I am using:
void setup() {
// Initialize USB Serial
Serial.begin(115200);
while (!Serial) {
}
Serial.println("Echo");
}
void loop() {
if (Serial.available()) {
char c = Serial.read(); // Read a character
Serial.print(c); // Echo it back
}
}Steps to reproduce the behavior:
1 - Flash code
2 - Receive the message "Echo"
3 - When typing something in the serial monitor and sending, the board should reply with what was typed
**Expected behavior:
Receive a response from the board through USB
Desktop (please complete the following information):
- OS: Windows 11
- Arduino IDE version: 2.3.6
- STM32 core version: 2.11.0
- Upload method: SWD
Board:
- Name: STM32 Bluepill
- Extra hardware used if any: ST-Link V2
Metadata
Metadata
Assignees
Labels
No labels