RA8875 Bitmap from RAM

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
thesassyindian
 
Posts: 7
Joined: Sat Sep 04, 2021 3:14 am

RA8875 Bitmap from RAM

Post by thesassyindian »

Hello folks,
Is it possible to load bitmaps into RAM on the ESP32 and display them on the 800x480px 7" LCD screen?

Loading bitmaps from flash and displaying them takes a long time ~5000ms for a 180x180px image.
Even after changing BUFFPIXEL to

Code: Select all

#define BUFFPIXEL 40
(I prefer not using an SD card)

Adafruit_ImageReader throws an error for the RA8875:

Code: Select all

error: no matching function for call to 'Adafruit_Image::draw(Adafruit_RA8875&, int16_t, int16_t)'
Any help is greatly appreciated!
Thanks!

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: RA8875 Bitmap from RAM

Post by mikeysklar »

Are you usign the ra8875_bitmap_fast.ino example?

https://github.com/adafruit/Adafruit_RA ... p_fast.ino

The error you are seeing:
error: no matching function for call to 'Adafruit_Image::draw(Adafruit_RA8875&, int16_t, int16_t)'


I've come across this when the libraries were mismatched. Is everything up to date with github current releases? Adafruit_GFX and Adafruit_RA8875 libraries?

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”