Skip to content

Commit

Permalink
Fixed linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Mar 5, 2019
1 parent dac6038 commit ad8cc3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions library/gfxhat/lcd.py
Expand Up @@ -21,9 +21,11 @@ def set_pixel(x, y, value):
"""
st7567.set_pixel(x, y, value)


def show():
"""Update GFX HAT with the current buffer contents."""
st7567.show()


def contrast(value):
st7567.contrast(value)
3 changes: 2 additions & 1 deletion library/gfxhat/st7567.py
Expand Up @@ -170,7 +170,8 @@ def show(self):
self._command([ST7567_EXIT_RMWMODE])

def contrast(self, value):
self._command([ST7567_SETCONTRAST,value])
self._command([ST7567_SETCONTRAST, value])


if __name__ == '__main__':
st7567 = ST7567()
Expand Down

0 comments on commit ad8cc3e

Please sign in to comment.