4dsystems / gfx4diod9 Goto Github PK
View Code? Open in Web Editor NEWGraphics Library for the IoD-09TH and IoD-09SM by 4D Systems
License: GNU Lesser General Public License v3.0
Graphics Library for the IoD-09TH and IoD-09SM by 4D Systems
License: GNU Lesser General Public License v3.0
Hi,
I have noticed that the latest version of this library does not work with the 3.1.* version of the ESP8266 (but working fine with ESP8266 V3.0.2).
When you compile the v1.0.2 version on v3.1.1 you get this error:
/Users/**/Documents/Arduino/libraries/GFX4DIoD9/src/GFX4dIoD9.cpp: In member function 'void GFX4dIoD9::begin()':
/Users/**/Documents/Arduino/libraries/GFX4DIoD9/src/GFX4dIoD9.cpp:309:21: error: cannot convert 'SPISettings' to 'uint32_t' {aka 'unsigned int'}
309 | if (SD.begin(_sd, spiSettings))
| ^~~~~~~~~~~
| |
| SPISettings
The issue came with this modif on the ESP8266 side: esp8266/Arduino@c487ca5 as part of the move to SdFat 2.0.2
Albeit advertised as non-breaking in https://github.com/esp8266/Arduino/releases/tag/3.1.0
A simple cast
to uint32_t did not work.
Another issue is:
/Users/**/Documents/Arduino/libraries/GFX4DIoD9/src/GFX4dIoD9.cpp: In member function 'void GFX4dIoD9::ImageWifi(boolean, String, uint16_t, String, String)':
/Users/**/Documents/Arduino/libraries/GFX4DIoD9/src/GFX4dIoD9.cpp:1305:49: error: no matching function for call to 'HTTPClient::begin(String&, uint16_t&, String&, String&)'
1305 | if (!http.begin(Address, port, hfile, sha1)) return;
| ^
Do these issue relate to the ESP8266 version check?
#if ARDUINO_ESP8266_GIT_VER > 0x2843a5ac
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.