0 votes
in Arduino by
For auto configuration of attached modules, ie ESP, GPS etc etc... I'm looking for changing the Baud at runtime to see which one is correct.

Can this be done?

1 Answer

0 votes
while(Serial.available()) Serial.read();

// Do some ping-pong and check if something is coming along.
// If not change the Baud and try again

while(Serial.available()) Serial.read();

Related questions

0 votes
1 answer 817 views
asked Sep 19, 2021 in Arduino by Samurai
+1 vote
2 answers 7.9k views
0 votes
1 answer 3.3k views
0 votes
1 answer 701 views
asked Sep 12, 2021 in Arduino by mithun (1.3k points)
+2 votes
1 answer 9.6k views
asked Mar 15, 2017 in Arduino by Manoj