Have thought about the final project

Question:

It is because in the serial monitor, the “new line” returns a “return”.

Untitled

in arduino:

switch(input){

case ‘2’:

break;

case ‘3’:

break;

default:

}

transmit pin & receiving pin are separate.