cancel
Showing results for 
Search instead for 
Did you mean: 

Scrolling Background Test STM32F4

cleanser23
Associate II
Posted on March 24, 2015 at 01:06

I'm Using Keil on an STM32F439 on a little project.

I am trying something that does this:

Set framebuffer to the location of an image whose width is 3 times that of the screen

set line pitch to 3*X_RESOLUTION 

display image.

Will the stm32 do this correctly?

Right now I am getting a strange mix of all 3 columns of the image
1 REPLY 1
cleanser23
Associate II
Posted on March 24, 2015 at 22:10

an update:

It seems what is happning is regardless of what I set the line pitch to, it is taking it as 320*2 (2 bytes per pixel and the horizontal resolution)