From 1d02bb7d2f602d865b0ea4afcbaee529386854a3 Mon Sep 17 00:00:00 2001 From: Pierrick C Date: Sun, 9 Sep 2018 22:55:41 +0200 Subject: [PATCH] Disable LED13 at boot (too fast to be seen) --- circuitpython/code/boot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/circuitpython/code/boot.py b/circuitpython/code/boot.py index b7fd045..93391cc 100644 --- a/circuitpython/code/boot.py +++ b/circuitpython/code/boot.py @@ -7,11 +7,11 @@ import storage jumper = digitalio.DigitalInOut(board.D5) jumper.direction = digitalio.Direction.INPUT jumper.pull = digitalio.Pull.UP -led = digitalio.DigitalInOut(board.D13) -led.direction = digitalio.Direction.OUTPUT +# led = digitalio.DigitalInOut(board.D13) +# led.direction = digitalio.Direction.OUTPUT # If the jumper on D5 is connected # CircuitPython can write to the drive storage.remount("/", jumper.value) -led.value = jumper.value -print("Read-only:{}".format(jumper.value)) +# led.value = jumper.value +print("Read-only: {}".format(jumper.value))