blob: d2e1d8e160bf47a047fb6fceadea559df2074a0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "usart.h"
void main(void)
{
usart_init(USART_BAUDRATE_1200, USART_PARITY_EVEN, USART_STOP_BITS_1);
usart_write("Hello, World!\n", 13);
while(1) {
usart_write("done\n", 5);
}
}
|