Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

MicroPython • Re: Help with slow framebuf display code

$
0
0
Better take a look at the SPI init code too. Default SPI freq is 1MHz, which, given a 240 x 240 x 16 bit frame buffer of the LCD unit, copying the buffer across would take about 1 sec. Hmmm.

Make a copy of the program, start removing things and see if it goes faster. Draw just a line or rect or two and show it. Should be fast. If it's not, could be SPI at default speed or a stray sleep() or something. Might be good if we can see the entire program.

Statistics: Posted by katak255 — Thu Aug 07, 2025 2:33 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles