That while loop runs independently from the Bluetooth.available function.
I suggest that you have a look at the serial input basics tutorial.
That while loop runs independently from the Bluetooth.available function.
I suggest that you have a look at the serial input basics tutorial.