-
Notifications
You must be signed in to change notification settings - Fork 76
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
Hurray for ssd1306_bitmaps() #19
Comments
I accepted your suggestion and changed the unit of the width parameter from bytes to pixels. However, width only supports multiples of 8.
Thank you for your suggestion. |
thanks
…On Tue, Apr 26, 2022 at 9:58 PM nopnop2002 ***@***.***> wrote:
I accepted your suggestion and changed the unit of the width parameter
from bytes to pixels.
However, width only supports multiples of 8.
//ssd1306_bitmaps(&dev, xpos, ypos, batman, 4, 12, false);
ssd1306_bitmaps(&dev, xpos, ypos, batman, 32, 13, false);
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKIDGWQSIXVGJXPSAXITFTVHDCOFANCNFSM5UNVVYYA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
/c
|
I found that ssd1306_bitmaps can't be drawn too quickly. https://github.com/nopnop2002/esp-idf-ssd1306/tree/master/AnimationDemo |
Will look, but I couldn't use the bitmaps, because they clear the screen.
I resorted back to displaying a 16x8 bitmap using two character bitmaps.
Cheers,
/c
…On Sun, May 1, 2022 at 6:11 AM nopnop2002 ***@***.***> wrote:
I found that ssd1306_bitmaps can't be drawn too quickly.
Please try this.
https://github.com/nopnop2002/esp-idf-ssd1306/tree/master/AnimationDemo
https://github.com/nopnop2002/esp-idf-ssd1306/tree/master/MeterDemo
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKIDGQXJ3VLBISC7YNRNRDVHZ7IHANCNFSM5UNVVYYA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
/c
|
Noticed you run SPI_CLK at 1 MHz. Surprised you need short wires. Remember seeing it should go up to 8 or 10 MHz. |
I tried it at a frequency of 2M but it didn't draw correctly in my module. |
Thanks for the bitmaps function. I am using it!
Just ran into something that could use some attention.
In the new function
The
xpos
,ypos
andheight
parameters are in pixels. I suggest either changing the parameterwidth
to mean width in pixels, or renaming it so that it is clear that it is pixels/8.Also, the
ImageDemo
example callsIt passes the height as
12
, but the image in the arraybatman[]
is 13 pixels heigh./Coert
The text was updated successfully, but these errors were encountered: