Skip to content

Commit 3c18ac4

Browse files
committed
fix reference to rename variable
1 parent 24232d2 commit 3c18ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rgb_display/ssd1331.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(self, spi, dc, cs, rst=None, width=96, height=64):
9999

100100
def write(self, command=None, data=None):
101101
"""write procedure specific to SSD1331"""
102-
self.dc.value = command is None
102+
self.dc_pin.value = command is None
103103
with self.spi_device as spi:
104104
if command is not None:
105105
spi.write(bytearray([command]))

0 commit comments

Comments
 (0)