KERNEL: Moved serials test function into the test folder

This commit is contained in:
Nigel Barink 2022-09-03 17:27:41 +02:00
parent a47879f404
commit 16e2354019

View File

@ -0,0 +1,18 @@
void test_serial(){
/** Serial test **/
kterm_writestring("Writing to COM1 serial port:");
init_serial();
write_serial('A');
write_serial('B');
write_serial('C');
write_serial('D');
write_serial('E');
char Character_received = read_serial();
kterm_writestring("\n");
kterm_writestring("received from COM 1: \n");
kterm_put(Character_received);
kterm_writestring("\n");
}