summaryrefslogtreecommitdiffstats
path: root/sw/z80_test/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sw/z80_test/main.c7
1 files changed, 7 insertions, 0 deletions
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);
+}