klipper-dgus/klippy/extras/display
Kevin O'Connor 273a98d39a pins: Explicitly pass can_invert and can_pullup to lookup_pin()
Don't pass pin_type to lookup_pin() - instead, if a pin can be
inverted or can have a pullup, then the caller must explicitly specify
that when calling lookup_pin().  This simplifies the code for the
cases where it is not valid to invert or pullup.

Explicitly pass the pin_type to setup_pin() and have ppins.setup_pin()
apply default pullup and invert flags.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2018-07-26 09:44:45 -04:00
..
__init__.py display: Move klippy/extras/display.py to klippy/extras/display/display.py 2018-06-27 13:18:03 -04:00
display.py docs: Add display g-code commands to docs/G-Codes.md 2018-07-08 10:12:23 -04:00
font8x14.py build: Cleanup whitespace errors 2018-06-28 13:00:20 -04:00
hd44780.py pins: Explicitly pass can_invert and can_pullup to lookup_pin() 2018-07-26 09:44:45 -04:00
icons.py display: Move icons to their own module 2018-06-27 13:18:03 -04:00
st7920.py pins: Explicitly pass can_invert and can_pullup to lookup_pin() 2018-07-26 09:44:45 -04:00
uc1701.py pins: Explicitly pass can_invert and can_pullup to lookup_pin() 2018-07-26 09:44:45 -04:00