Comments (6)
I have not yet tried STM32F411, did it works well on PDQgraphicstest example? Can you share the figures?
from arduino_gfx.
I changed the board to STM32F411CEU Blackpill and kept the example unchanged.
These are the errors.
Arduino: 1.8.12 (Windows 10), Board: "Generic STM32F4 series, BlackPill F411CE, STM32CubeProgrammer (DFU), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"
C:\Users\Jonathan\Documents\Arduino\libraries\GFX_Library_for_Arduino\src\Arduino_DataBus.cpp:82:6: error: no declaration matches 'void Arduino_DataBus::writeIndexedPixels(uint8_t*, uint16_t*, uint32_t)'
82 | void Arduino_DataBus::writeIndexedPixels(uint8_t data, uint16_t idx, uint32_t len)
| ^~~~~~~~~~~~~~~
C:\Users\Jonathan\Documents\Arduino\libraries\GFX_Library_for_Arduino\src\Arduino_DataBus.cpp:82:6: note: no functions named 'void Arduino_DataBus::writeIndexedPixels(uint8_t, uint16_t, uint32_t)'
In file included from C:\Users\Jonathan\Documents\Arduino\libraries\GFX_Library_for_Arduino\src\Arduino_DataBus.cpp:5:
C:\Users\Jonathan\Documents\Arduino\libraries\GFX_Library_for_Arduino\src\Arduino_DataBus.h:60:7: note: 'class Arduino_DataBus' defined here
60 | class Arduino_DataBus
| ^~~~~~~~~~~~~~~
C:\Users\Jonathan\Documents\Arduino\libraries\GFX_Library_for_Arduino\src\Arduino_DataBus.cpp:90:6: error: no declaration matches 'void Arduino_DataBus::writeIndexedPixelsDouble(uint8_t*, uint16_t*, uint32_t)'
90 | void Arduino_DataBus::writeIndexedPixelsDouble(uint8_t data, uint16_t idx, uint32_t len)
| ^~~~~~~~~~~~~~~
C:\Users\Jonathan\Documents\Arduino\libraries\GFX_Library_for_Arduino\src\Arduino_DataBus.cpp:90:6: note: no functions named 'void Arduino_DataBus::writeIndexedPixelsDouble(uint8_t, uint16_t, uint32_t)'
In file included from C:\Users\Jonathan\Documents\Arduino\libraries\GFX_Library_for_Arduino\src\Arduino_DataBus.cpp:5:
C:\Users\Jonathan\Documents\Arduino\libraries\GFX_Library_for_Arduino\src\Arduino_DataBus.h:60:7: note: 'class Arduino_DataBus' defined here
60 | class Arduino_DataBus
| ^~~~~~~~~~~~~~~
exit status 1
Error compiling for board Generic STM32F4 series.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
from arduino_gfx.
The above code is under this preprocessor directive:
#if defined(ARDUINO_ARCH_SAMD) || defined(ESP8266) || defined(ESP32)
and should not compiled for STM32F4...
from arduino_gfx.
Right, I noticed this in the source code when trying the GIF example. There are many conditional statements in the source to include certain methods depending on what particular boards is used. I can try to grind through this myself, but I think it would be quite valuable to add support in this library for the STM32F4 chips. They should have enough power to play gifs like the ESP32, and I want to add a micro SD card to my project to store all Gifs/and jpgs. The microcontroller itself can be bought for ~2 USD on Taobao, which makes it a really great option for a product BOM.
from arduino_gfx.
I have just updated the ImgViewerAnimatedGIF example, please check is it ok now.
from arduino_gfx.
Hello!
The PDQgraphicstest example is now working, the GIF example has trouble with accessing the SD card attached on SPI bus1.
I have yet to find a good example for using the Blackpill with an SD card which is unfortunate. Seems to be a bit more of a struggle compared to other arduino compatible boards.
Thanks for your quick action to improve the library, I'm still blown away at the quality of pictures and gifs I can run on my display (at least with the ESP32 w/DMA, having some speed issues when accessing the GIF from SD)
from arduino_gfx.
Related Issues (20)
- ESP32-4848S040C HOT 3
- When I use GC9107, colors are inverted. HOT 2
- Support for LilyGo T-Display S3 Long? HOT 4
- JC8048W550 ST7262 no display with V1.4.6 HOT 8
- Add support for TZT 1.9 Inch IPS 170x320 ST7789
- No image display from flash or SD (esp32S3-8048S070) HOT 7
- ILI9488 with Arduino UNO R3 HOT 7
- undefined reference to `Arduino_GFX::setFont(unsigned char const*)' HOT 1
- vscode+platformio ESP32S3 error HOT 3
- ESP32 V3.0.0 is out but didn't work with Arduino GFX HOT 3
- Error when compiling "PDQgraphicstest" for ESP32_8048S043 HOT 7
- Problem with jpeg_dec_parse_header() HOT 6
- using XL9535 IOs HOT 2
- T-QT Pro text and back colors not working HOT 4
- Problems with using setRotation HOT 4
- Is NV3023A supported? HOT 4
- WEA2012 miss D/C and TE pin define HOT 1
- GFX display not working with T-Display S3 AMOLED HOT 15
- Data Bus Class add bl618/bl616 HOT 1
- Pico tailor-made 8bit parallel not working, only slow software parallel with NT35510 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_gfx.