Skip to content

Bulk of Library Work Completed #1

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 25 commits into from
Jan 25, 2019
Merged

Conversation

makermelissa
Copy link
Collaborator

This is the initial work for Circuit Python and is based of of the Adafruit RA8875 Arduino Library, but with some structural changes so that it's even easier to use. Many of the function names and parameters are intended to coincide with the GFX library for easy of porting code over. I have also ran this through PyLint and the only things coming up are import-errors and I'm sure that has to do with my setup as it functions perfectly.

There are 2 examples. One goes through all of the hardware accelerated drawing function as well as displaying text and updating it. The other one will decode and draw a bitmap onto the screen using the fastest drawing methods available.

@kattni kattni requested a review from a team January 19, 2019 21:43
kattni
kattni previously requested changes Jan 19, 2019
Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together!!

It looks like you may have missed copying the .files from the cookiecutter output. This includes, but is not limited to, .travis.yml and .readthedocs.yml. Please either copy them from your cookiecutter output, or if you've deleted it already, you can rerun cookiecutter and copy only those files into your working directory and push them to this branch. Thanks!

@kattni kattni requested a review from a team January 19, 2019 21:45
@makermelissa
Copy link
Collaborator Author

makermelissa commented Jan 19, 2019 via email

@makermelissa
Copy link
Collaborator Author

makermelissa commented Jan 19, 2019 via email

@kattni
Copy link
Contributor

kattni commented Jan 19, 2019

Perfect, thank you! Travis is now running on it and has failed. (As it does for all of us!)

We've moved to Discord for now for more immediate discussion.

@kattni kattni dismissed their stale review January 19, 2019 22:03

Requested changes were completed, but I'm waiting to approve until Travis passes.

Copy link
Collaborator

@sommersoft sommersoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holy cow! This thing is massive! Excellent work.

I rolled through and didn't see anything glaring in the code itself. I don't have any experience with this display, so I'll leave the more technical review to others.

I do have a couple suggestions with regards to documentation though.

@makermelissa
Copy link
Collaborator Author

makermelissa commented Jan 21, 2019 via email

@makermelissa
Copy link
Collaborator Author

I've gone ahead and made the above changes. It passed on Travis just fine and I don't think there's anything left to do on my end.

@makermelissa
Copy link
Collaborator Author

I just noticed you said that private functions don't have comments built by default, so I reduced those to reduce file size. Also I just made brightness public in case somebody want's to adjust the backlight with code.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks awesome to me! Definitely thinking about how this will fit into displayio. Are there other similar accelerated displays like this? Seems like we'll need a primitive to hold drawing commands as opposed to pixels. Thanks for the library!

@makermelissa
Copy link
Collaborator Author

@tannewt Thanks! There are most likely other hardware accelerated graphics chips like this, but I'm not aware of anything specific.

Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you again!

@kattni kattni merged commit c45dcf9 into adafruit:master Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants