From 43be150dc6e84f6f6eeb071cd3cdb7fc21125d60 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 30 Oct 2018 11:41:24 +0100 Subject: Move sw to sw-old and hw to hw-altium, add kicad files --- sw-old/z80/tests/usart/main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sw-old/z80/tests/usart/main.c (limited to 'sw-old/z80/tests/usart/main.c') diff --git a/sw-old/z80/tests/usart/main.c b/sw-old/z80/tests/usart/main.c new file mode 100644 index 0000000..a905df2 --- /dev/null +++ b/sw-old/z80/tests/usart/main.c @@ -0,0 +1,11 @@ +#include "usart.h" +#include + +void main(void) +{ + usart_init(USART_BAUDRATE_1200, USART_PARITY_NONE, USART_STOP_BITS_1); + + while (1) { + usart_write("Hello World!\n", 13); + } +} -- cgit v1.2.1