Skip to content

Commit

Permalink
remove serial interface - not needed for ht1621
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-hull committed Jun 1, 2019
1 parent b1be19e commit 5cf0f9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions luma/lcd/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ class ht1621(backlit_device):
.. versionadded:: 0.4.0
"""
def __init__(self, gpio=None, width=6, rotate=0, WR=11, DAT=10, CS=8, **kwargs):
if 'serial_interface' in kwargs:
del kwargs['serial_interface']
super(ht1621, self).__init__(luma.lcd.const.ht1621, noop(), gpio=gpio, **kwargs)
self.capabilities(width, 8, rotate)
self.segment_mapper = dot_muncher
Expand Down

0 comments on commit 5cf0f9e

Please sign in to comment.