-
Notifications
You must be signed in to change notification settings - Fork 10
Implement SH1107 sleep/wake functionality #2
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
652ef19
Remove extra \x00 in DISPLAY ON of _INIT_SEQUENCE
SAK917 25031b0
Implement sleep/wake states for display
SAK917 5525057
Update .pre-commit-config.yaml
SAK917 f7a2ae0
Update copyright and licensing headers
SAK917 1ff1d37
Fix end-of-file error in .gitignore
SAK917 b61ba88
Reblacken examples using default black line length
SAK917 09362df
Address pylint errors and blacken
SAK917 732e148
Fix black formatting issue (different versions?)
SAK917 5b88c42
Fix docstring formatting for Sphinx
SAK917 166dae8
Change name of display state property
SAK917 66d21f2
Change module reference in Usage Example (#3)
SAK917 7f3a7b2
Address API change request
SAK917 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,17 @@ | |
https://github.com/pypa/sampleproject | ||
""" | ||
|
||
from setuptools import setup, find_packages | ||
|
||
# To use a consistent encoding | ||
from codecs import open | ||
from codecs import open as open_codec | ||
from os import path | ||
|
||
from setuptools import setup | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the README file | ||
with open(path.join(here, "README.rst"), encoding="utf-8") as f: | ||
with open_codec(path.join(here, "README.rst"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
|
@@ -34,7 +35,9 @@ | |
# Author details | ||
author="Adafruit Industries", | ||
author_email="[email protected]", | ||
install_requires=["Adafruit-Blinka",], | ||
install_requires=[ | ||
"Adafruit-Blinka", | ||
], | ||
# Choose your license | ||
license="MIT", | ||
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.