Also removes print statements from the interrupt handler (except for the button interrupt)
21 lines
266 B
C
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;
|
|
}
|