File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 67
67
//| in the respective state for ``debounce_threshold`` times on average.
68
68
//| Successive measurements are spaced apart by ``interval`` seconds.
69
69
//| The default is 1, which resolves immediately. The maximum is 127.
70
+ //|
71
+ //| .. warning:: On Raspberry Pi RP2350, using ``columns_to_anodes=False``
72
+ //| normally depends on the internal pull-down resistors.
73
+ //| This will not work, due to an RP2350 issue.
74
+ //| The easiest fix is simply to swap the ``row_pins`` and ```column_pins`` and to set
75
+ //| ``columns_to_anodes=True``. This requires no external components.
76
+ //| An alternative is to add external pull-downs of 8.2 kohms or less, but that will draw more current.
77
+ //| See the Warning in `digitalio` for more information.
70
78
//| """
71
79
//| ...
72
80
//|
Original file line number Diff line number Diff line change 69
69
//| in the respective state for ``debounce_threshold`` times on average.
70
70
//| Successive measurements are spaced apart by ``interval`` seconds.
71
71
//| The default is 1, which resolves immediately. The maximum is 127.
72
+ //|
73
+ //| .. warning:: On Raspberry Pi RP2350, using ``value_when_pressed=True`` and ``pull=True``,
74
+ //| to enable using the internal pull-down resistor, will not work, due to an RP2350
75
+ //| hardware issue. Instead, wire the switch to be ``value_when_pressed=False``, or add
76
+ //| an external pull-down resistor of 8.2 kohms or less.
77
+ //| See the Warning in `digitalio` for more information.
72
78
//| """
73
79
//| ...
74
80
//|
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ MP_PROPERTY_GETTER(keypad_generic_events_obj,
65
65
//| due to a GPIO hardware issue that causes excessive leakage current (~120uA).
66
66
//| A pin can read as high even when driven or pulled low, if the input signal is high
67
67
//| impedance or if an attached pull-down resistor is too weak (has too high a value).
68
- //| See the warning in `digitalio` for more information.
68
+ //| See the warnings in `keypad.Keys`, `keypad.KeyMatrix`, and ` digitalio` for workarounds and more information.
69
69
//|
70
70
//| .. jinja
71
71
//| """
You can’t perform that action at this time.
0 commit comments