We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d319f commit d792ac6Copy full SHA for d792ac6
adafruit_st7565.py
@@ -149,9 +149,9 @@ def show(self):
149
# Set page
150
self.write_cmd(self.CMD_SET_PAGE | self.pagemap[page])
151
# Set lower bits of column
152
- self.write_cmd(self.CMD_SET_COLUMN_LOWER | (0+self.start_bytes & 0xF))
+ self.write_cmd(self.CMD_SET_COLUMN_LOWER | (0 + self.start_bytes & 0xF))
153
# Set upper bits of column
154
- self.write_cmd(self.CMD_SET_COLUMN_UPPER | ((0+self.start_bytes >> 4) & 0xF))
+ self.write_cmd(self.CMD_SET_COLUMN_UPPER | ((0 + self.start_bytes >> 4) & 0xF))
155
156
# Page start row
157
row_start = page << 7
0 commit comments