cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429, StemWin DrawPixel wrong position problem

fb2
Associate II
Posted on November 27, 2014 at 13:20

Hello. I'm starting to work with StemWin, and I'm facing a problem I cant figure out still. I initialized tft lcd (800x480), sdram and StemWin. But when I try to draw something, like text or lines, I get wrong drawing.

Then I tried to draw a single pixel, everithing ok for position (0,0).

The problem is that when I put pixels to y>0,  ie. y=1, instead of going to line 1, it stays in line 0, but offseted in x.

What am I configuring wrong?

Please excuse my English.

Thanks in advance.

Regards.

Fernando

#stemwin #stm32f429discovery
1 REPLY 1
fb2
Associate II
Posted on November 27, 2014 at 14:18

Solved: wrong layer configuration.

Thanks.