mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-21 06:29:48 +00:00
17 lines
243 B
C
17 lines
243 B
C
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
#include <conio.h>
|
|
|
|
int main (void)
|
|
{
|
|
printf("\nKeyboard Test\n");
|
|
while (1) {
|
|
char ch = cgetc();
|
|
printf("%3d ($%2x) = %c\n", ch, ch, ch);
|
|
}
|
|
return EXIT_SUCCESS;
|
|
}
|
|
|