/** Properly turns off the Brick. */ public static void turnOff() { if (listener != null) listener.stop(); LCD.drawString("Program finished.", 0, 0); Button.waitForPress(); }