summaryrefslogtreecommitdiffstats
path: root/sw/z80_test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sw/z80_test/main.c')
-rw-r--r--sw/z80_test/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/z80_test/main.c b/sw/z80_test/main.c
index a90cd92..d2e1d8e 100644
--- a/sw/z80_test/main.c
+++ b/sw/z80_test/main.c
@@ -2,6 +2,10 @@
void main(void)
{
- usart_init(USART_BAUDRATE_9600, USART_PARITY_EVEN, USART_STOP_BITS_1);
- usart_write("Hello, World!", 13);
+ 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);
+ }
}