I'm having a problem with the code below.
What I want to do is wait for the RETURN key to be pressed before continuing.
char listen = x;
while (listen != '\r'){
listen=keyboard.readChar(); //defined method (working)
}
does anybody have an easy way to do what I want.
Thanks in advance,
De8o
What I want to do is wait for the RETURN key to be pressed before continuing.
char listen = x;
while (listen != '\r'){
listen=keyboard.readChar(); //defined method (working)
}
does anybody have an easy way to do what I want.
Thanks in advance,
De8o