-
Notifications
You must be signed in to change notification settings - Fork 53
Initial commit of PiTFT Animated Gif Player #54
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
Conversation
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 extends the `image` method with two additional arguments for the image origin on the screen. The previous exact size check was adapted to ensure that the image drawn at the supplied origin does not exceed the display dimensions. The changes allow to update a smaller part of the screen with an image which is especially benefitial on lower end hardware. Some example test results from a Rasberry Pi Zero: - Draw fullscreen image (240x320): ~0.3s - Draw half-screen image (240x160): ~0.2s - Draw single line of text (240x22): ~0.06s Fixes: adafruit#48
ladyada
requested changes
Jan 3, 2020
self.advance(True) | ||
|
||
# Config for display baudrate (default max is 24mhz): | ||
BAUDRATE = 24000000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump this up to 64mhz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oki. Fixing issues and bumping to 64...
ladyada
approved these changes
Jan 3, 2020
adafruit-adabot
added a commit
to adafruit/Adafruit_CircuitPython_Bundle
that referenced
this pull request
Jan 4, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display to 3.8.0 from 3.7.0: > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#54 from makermelissa/master Updating https://github.com/adafruit/Adafruit_CircuitPython_AWS_IOT to 1.2.0 from 1.1.0: > Merge pull request adafruit/Adafruit_CircuitPython_AWS_IOT#6 from brentru/pypi-setup > disabling pypi deploy via actions > Merge pull request adafruit/Adafruit_CircuitPython_AWS_IOT#5 from adafruit/dherrada-patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Added the following libraries: Adafruit_CircuitPython_AWS_IOT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
More optimizations (and possibly fixes) coming in the future, but here's the initial working code.