Adafruit Industries, Essential service and business: NYC – Executive Order 202.6 - Read more.
0

SSD1306 128x64 splash logo
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

SSD1306 128x64 splash logo

by GomesKhan on Tue Dec 10, 2019 4:53 pm

Hello everyone,,
I have set a custom logo and that works well.

I then overwrite part of it. I now want .to "clear the display" to have a simulated sleep mode.

How do I load the splash screen back into the buffer? I know I could pull it into the program but I want to know if I can reuse the one in the ccp file to save memory?

I tried dispaly.splash() in hopes. Perhaps it could be an enhancement.

Thank you..

GomesKhan
 
Posts: 10
Joined: Tue Nov 26, 2019 6:32 am

Re: SSD1306 128x64 splash logo

by mikeysklar on Tue Dec 10, 2019 10:27 pm

I think you would have to run clearDisplay() and initialize the buffer again in your code then run display(). Perhaps not idea due to space, but it should work fine.

mikeysklar
 
Posts: 846
Joined: Mon Aug 01, 2016 8:10 pm

Re: SSD1306 128x64 splash logo

by GomesKhan on Sat Dec 14, 2019 6:42 pm

GomesKhan wrote:Hello everyone,,
I have set a custom logo and that works well.

I then overwrite part of it. I now want .to "clear the display" to have a simulated sleep mode.
curated.onl/nba-reddit/ pcbuilder.onl/pcpartpicker/
How do I load the splash screen back into the buffer? I know I could pull it into the program but I want to know if I can reuse the one in the ccp file to save memory?

I tried dispaly.splash() in hopes. Perhaps it could be an enhancement.

Thank you..


Thank you my issue has been solved,...

GomesKhan
 
Posts: 10
Joined: Tue Nov 26, 2019 6:32 am

Please be positive and constructive with your questions and comments.