From 2a1aae6da8e31f3ba8ef6c1ea535b90c406c751e Mon Sep 17 00:00:00 2001 From: Pierrick C Date: Fri, 3 Aug 2018 18:55:30 +0200 Subject: [PATCH] Delete unneed print command --- circuitpython/code/boot.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/circuitpython/code/boot.py b/circuitpython/code/boot.py index 5d5b19c..596b5cc 100644 --- a/circuitpython/code/boot.py +++ b/circuitpython/code/boot.py @@ -3,15 +3,14 @@ import board import digitalio import storage - + switch = digitalio.DigitalInOut(board.D5) switch.direction = digitalio.Direction.INPUT switch.pull = digitalio.Pull.UP led = digitalio.DigitalInOut(board.D13) led.direction = digitalio.Direction.OUTPUT - + # If the D0 is connected to ground with a wire # CircuitPython can write to the drive storage.remount("/", switch.value) -print("Readonly : {}".format(switch.value)) -led.value = switch.value \ No newline at end of file +led.value = switch.value