micro:bitとの接続を切断します。
なし
# Microbitオブジェクトを生成し、接続後に LEDを全灯状態にしてから切断します mb = Microbit.new mb.connect do mb.led_on mb.disconnect end