0

RA8875 Bitmap from RAM
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

RA8875 Bitmap from RAM

by thesassyindian on Thu Sep 16, 2021 5:00 pm

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 | TOGGLE FULL SIZE
#define BUFFPIXEL 40

(I prefer not using an SD card)

Adafruit_ImageReader throws an error for the RA8875:
Code: Select all | TOGGLE FULL SIZE
error: no matching function for call to 'Adafruit_Image::draw(Adafruit_RA8875&, int16_t, int16_t)'


Any help is greatly appreciated!
Thanks!

thesassyindian
 
Posts: 1
Joined: Sat Sep 04, 2021 3:14 am

Re: RA8875 Bitmap from RAM

by mikeysklar on Fri Sep 17, 2021 2:08 pm

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?

mikeysklar
 
Posts: 5771
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.