Skip to content
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

doesn't display any icons any more #10

Closed
daduke opened this issue Mar 28, 2017 · 8 comments
Closed

doesn't display any icons any more #10

daduke opened this issue Mar 28, 2017 · 8 comments

Comments

@daduke
Copy link

daduke commented Mar 28, 2017

Hi,

thanks for this great project! I built a weather station a couple of months ago and it's been working great until about 4 days ago. Now it doesn't display any icons. The text is fine, but no bmps. On the serial terminal I see that they get downloaded and also load from the file system, but they don't get displayed. Any hints?

thanks,
-Christian

@daduke
Copy link
Author

daduke commented Mar 28, 2017

ah just saw the PR now, will try that. Strange that it's been working until recently..

@daduke daduke mentioned this issue Mar 28, 2017
@G6EJD
Copy link

G6EJD commented Mar 29, 2017

I've noticed that when Adafruit recently updated their GFX library my projects can no-longer display BMP Images, but the problem is solved by going back to GFX v1.02, I have not yet inspected the code differences between 1.02 and 1.03 (latest) to see why.

@dronecz
Copy link

dronecz commented Apr 9, 2017

Hi all,

I searched Adafruit forum and found this topic: https://forums.adafruit.com/viewtopic.php?f=53&t=114248&p=570812&hilit=weather+station#p570812 and you have to update GfxUi.cpp in your sketch. I did test on 2 boards and if problem is not solved for the first time, you have to format SPIFFS (uncomment SPIFFS.format(); in main file of the sketch) and download all BMP files again.

You can download file from here ;-), just rename it from GfxUi.cpp.txt to GfxUi.cpp and you good to go.
GfxUi.cpp.txt

Good luck ;-)
img_0009

@johnym30
Copy link

I still get no icons with the new cpp file and after spiffs format.Is there something else i could try?

@dronecz
Copy link

dronecz commented Apr 15, 2017 via email

@G6EJD
Copy link

G6EJD commented Apr 15, 2017

Have you tried downgrading <Adafruit_ILI9341.h> to 1.0.2 my copy of v1.0.6 functions correctly now it's been corrected. I'm currently using:
#include <Adafruit_GFX.h> // v1.1.8
#include <Adafruit_ILI9341.h> // v1.0.6

Also make sure the bmp draw function has 16-bit parameters ...String filename, uint16_t x, uint16_t y)

These are the areas I check for when BMP's stop drawing.

@squix78
Copy link
Collaborator

squix78 commented Jul 15, 2017

Hi all. Thank you so much for reporting all this valuable information. Do you agree that we can close this issue since there is no more need for downloading icons and everything is based on the MiniGrafx library instead?

@squix78
Copy link
Collaborator

squix78 commented Jul 22, 2017

Closing due to no response after one week

@squix78 squix78 closed this as completed Jul 22, 2017
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

No branches or pull requests

5 participants