simple key_pressed function, for serialReader screen mode