9 years, 7 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:

Quadrature encoder interface example. Encoder, QEI, quadrature

1 Answer

9 years, 7 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.

Accepted Answer