I decided to create a simple C library for USART and AVR microcontrollers for the purpose of studying the USART serial interface.
This library is likely to be often updated. Open source code on my github:
Below is an example application. It will echo back strings received via serial at 9600 bit rate (defined in dthUSART.h), using the internal oscillator at 1 Mhz.
Read more “dthUSART – C library for AVR microcontrollers (beta) and example code”