Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split display.py into files for each backend #930

Merged
merged 5 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use relative imports in display extension
  • Loading branch information
Anomalocaridid committed Jan 28, 2024
commit 67c1e5d4d5d3f3ce5722b5b827299a266d12ea2a
2 changes: 1 addition & 1 deletion kmk/extensions/display/builtin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from kmk.extensions.display import DisplayBase
from . import DisplayBase


# Intended for displays with drivers built into CircuitPython
Expand Down
2 changes: 1 addition & 1 deletion kmk/extensions/display/sh1106.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import adafruit_displayio_sh1106 # Display-specific library
import displayio

from kmk.extensions.display import DisplayBase
from . import DisplayBase

# Required to initialize this display
displayio.release_displays()
Expand Down
2 changes: 1 addition & 1 deletion kmk/extensions/display/ssd1306.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import adafruit_displayio_ssd1306 # Display-specific library
import displayio

from kmk.extensions.display import DisplayBase
from . import DisplayBase

# Required to initialize this display
displayio.release_displays()
Expand Down
Loading