NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » Nerdkit UART: 115200 --> 9600 baud rate
April 01, 2013 by oshjdf |
Line 15 in uart.c: UBRR0L = 7; // for 115200bps with 14.7456MHz clock How to set baud rate to 9600? |
---|---|
April 01, 2013 by pcbolt |
Hi oshjdf - The formula for computing baud setting in normal operation mode is:
So for your example :
|
April 01, 2013 by oshjdf |
Thanks pcbolt. |
Please log in to post a reply.
Did you know that our kits have shipped to hobbyists in 40 countries? Learn more...
|