Have thought about the final project
Question:
It is because in the serial monitor, the “new line” returns a “return”.
in arduino:
switch(input){
case ‘2’:
break;
case ‘3’:
default:
}
transmit pin & receiving pin are separate.