summaryrefslogtreecommitdiffstats
path: root/sw/z80/tests/usart/main.c
blob: a905df23edd52d98a926f20aea27f81d87115313 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "usart.h"
#include <stdint.h>

void main(void)
{
    usart_init(USART_BAUDRATE_1200, USART_PARITY_NONE, USART_STOP_BITS_1);

    while (1) {
        usart_write("Hello World!\n", 13);
    }
}