From 9b9e656da951138f7d5523fd717c86a834211096 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 28 Aug 2017 13:55:35 +0200 Subject: add test program for z80 --- sw/z80_test/main.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sw/z80_test/main.c (limited to 'sw/z80_test/main.c') diff --git a/sw/z80_test/main.c b/sw/z80_test/main.c new file mode 100644 index 0000000..a90cd92 --- /dev/null +++ b/sw/z80_test/main.c @@ -0,0 +1,7 @@ +#include "usart.h" + +void main(void) +{ + usart_init(USART_BAUDRATE_9600, USART_PARITY_EVEN, USART_STOP_BITS_1); + usart_write("Hello, World!", 13); +} -- cgit v1.2.1