Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 4 months ago.
Change baud rate
Please help me. How to change the baud rate read data encoder and print PC? Thank you very much!
Question relating to:
1 Answer
10 years, 4 months ago.
PC baud rate is set using the baud() function. e.g.
pc.baud(115200);
Put it in main before the while loop.
To change the rate at which it outputs data change the wait(0.1); to the delay you want between reads.