Does anyone know how to send the "enter" key using serial.print like as if the enter key was pressed on a keyboard?
For example:
serial.print(enter key)
I'm not sure how to do this. Thanks in advance.
Does anyone know how to send the "enter" key using serial.print like as if the enter key was pressed on a keyboard?
For example:
serial.print(enter key)
I'm not sure how to do this. Thanks in advance.
The enter key is usually a carriage return, this is sent as follows:
Serial.print('\r');
or
Serial.print((char)13);
dont know exactly what your goal is or if you already know this mkub, but
serial.println(); //should do the same thing