Files
super6502/sw/main.c
Byron Lathi 15b91dcc20 Add conio
Also removes print statements from the interrupt handler (except for the
button interrupt)
2022-03-14 22:20:15 -05:00

21 lines
266 B
C

#include <stdint.h>
#include <conio.h>
#include "sevenseg.h"
#include "uart.h"
int main() {
char s[16];
clrscr();
cprintf("Hello, world!\n");
while (1) {
cscanf("%15s", s);
cprintf("Read string: %s\n", s);
}
return 0;
}