diff options
author | Nao Pross <naopross@thearcway.org> | 2017-09-07 14:27:14 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-09-07 14:27:14 +0200 |
commit | 26b68ceb8ec5ccad999a436c7d594d1df3398f04 (patch) | |
tree | cd08864a651d5648f47b1628e3512e5d8457ab3c /sw/z80_test/main.c | |
parent | minor bug fix for ROM programmer (diff) | |
download | z80uPC-26b68ceb8ec5ccad999a436c7d594d1df3398f04.tar.gz z80uPC-26b68ceb8ec5ccad999a436c7d594d1df3398f04.zip |
z80_test cleanup and makefile corrections
Diffstat (limited to '')
-rw-r--r-- | sw/z80_test/main.c | 8 |
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); + } } |