示例#1
0
 /** Properly turns off the Brick. */
 public static void turnOff() {
   if (listener != null) listener.stop();
   LCD.drawString("Program finished.", 0, 0);
   Button.waitForPress();
 }
示例#2
0
 /** Starts to listen for connection to Chaser. */
 public static void compete() {
   listener.start();
   listener.listen(100);
 }