Git Product home page Git Product logo

Comments (8)

daduke avatar daduke commented on June 3, 2024

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

from esp8266-weather-station-color.

G6EJD avatar G6EJD commented on June 3, 2024

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.

from esp8266-weather-station-color.

dronecz avatar dronecz commented on June 3, 2024

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

from esp8266-weather-station-color.

johnym30 avatar johnym30 commented on June 3, 2024

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

from esp8266-weather-station-color.

dronecz avatar dronecz commented on June 3, 2024

from esp8266-weather-station-color.

G6EJD avatar G6EJD commented on June 3, 2024

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.

from esp8266-weather-station-color.

squix78 avatar squix78 commented on June 3, 2024

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?

from esp8266-weather-station-color.

squix78 avatar squix78 commented on June 3, 2024

Closing due to no response after one week

from esp8266-weather-station-color.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.