- BTConnector btconnector = new BTConnector();
- NXTConnection conn = btconnector.waitForConnection(60000, NXTConnection.RAW);
+ LCDPrinter.print("Start BT... Press any key to commence");
+ Button.waitForAnyEvent();
+ btconnector = new BTConnector();
+ while(conn == null){
+ LCDPrinter.print("Waiting for the master...");
+ conn = btconnector.waitForConnection(60000, NXTConnection.RAW);
+ }