I am trying to develop an Android app that connects to the Arduino Nano 33 BLE board.
But the device was not visible when I did the Bluetooth scan.
I use this example code: Arduino BLE Example Explained Step by Step - Arduino Projects and Robotics Tutorial
Can anyone give my tips on solving this?
Did you start the Serial Monitor before you started scanning?
The while(Serial); stops the sketch from running until you start the Serial Monitor. To ensure it is working correctly always close the Serial Monitor window, ensure the COM port is selected again after downloading a sketch and then start Serial Monitor again.