From 0d2b3483ea4d968c8a485e8706ec0c06826fbd32 Mon Sep 17 00:00:00 2001 From: sckarlin Date: Thu, 29 Dec 2022 15:35:10 -0500 Subject: [PATCH] Sync comment default for pull_up with code. Fixes #94 --- picozero/picozero.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/picozero/picozero.py b/picozero/picozero.py index 94b8cb7..5323602 100644 --- a/picozero/picozero.py +++ b/picozero/picozero.py @@ -1543,8 +1543,8 @@ class DigitalInputDevice(InputDevice, PinMixin): The pin that the device is connected to. :param bool pull_up: - If :data:`True` (the default), the device will be pulled up to - HIGH. If :data:`False`, the device will be pulled down to LOW. + If :data:`True`, the device will be pulled up to HIGH. If + :data:`False` (the default), the device will be pulled down to LOW. :param bool active_state: If :data:`True` (the default), the device will return :data:`True`