cancel
Showing results for 
Search instead for 
Did you mean: 

How to write in stemwin framebuffer directly

Peeters.Bram
Senior

Hi,

I have data in 16bpp 565 format that i want to write directly into the stemwin framebuffer. According to eg https://forum.segger.com/index.php/Thread/2194-Direct-LCD-frame-buffer-access-when-using-STemWin/ this should be possible but I can't find how this is suppose to be done.

Looking at the double buffering chapter in de emwin guide for inspiration (i only need 1 buffer), the buffers seem to be located at _VRamBaseAddr + BufferSize * BufferIndex but this _VramBaseAddr symbol does not seem to be available if i look for it in the stemwin directory so it is probably just some demo specific variable.

Also I am not sure if this _VRam/Video Ram (?) is what i am looking for, in my case I am working with an external controller connected of 8 bit bus (so FlexColor driver) , the videoram sounds more like something you would use with the Lin driver.

Any suggestions ?

Thanks

Bram

0 REPLIES 0