diff options
author | Nao Pross <naopross@thearcway.org> | 2017-08-28 13:55:35 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-08-28 13:55:35 +0200 |
commit | 9b9e656da951138f7d5523fd717c86a834211096 (patch) | |
tree | 397be6d5fb2ea3566efcf7d6684660e8a2ab9593 /sw/z80_test/main.c | |
parent | update gitignore to ignore sdcc output (diff) | |
download | z80uPC-9b9e656da951138f7d5523fd717c86a834211096.tar.gz z80uPC-9b9e656da951138f7d5523fd717c86a834211096.zip |
add test program for z80
Diffstat (limited to '')
-rw-r--r-- | sw/z80_test/main.c | 7 |
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); +} |