-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
document going directly to display with ondiskgif #7668
Conversation
shared-bindings/gifio/OnDiskGif.c
Outdated
//| | ||
//| # Take over display to drive directly | ||
//| display.auto_refresh = False | ||
//| bus = display.bus |
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.
Is there a reason for this? display_bus is reference below
shared-bindings/gifio/OnDiskGif.c
Outdated
//| display_bus.send(43, struct.pack(">hh", 0, odg.bitmap.height - 1)) | ||
//| display_bus.send(44, d.bitmap) | ||
//| | ||
//| d.next_frame() |
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.
You call next_frame()
on line 93 too.
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.
thanks for both comments -- fixed now, I think?
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.
Looks good to me. I've been using this to do some testing on my own so glad you shared it.
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.
Thanks!
No description provided.