st7789_mpy icon indicating copy to clipboard operation
st7789_mpy copied to clipboard

My screen is 240x280,How should I modify parameters to fit the screen.

Open 3233537658 opened this issue 1 year ago • 1 comments

I made changes here

WIDTH_240 = [(240, 280, 0, 20), (280, 240, 20, 0), (240, 240, 0, 80), (240, 240, 80, 0)]

1705062662987

But there is still a large part below that cannot show how to make changes

3233537658 avatar Jan 12 '24 12:01 3233537658

According to https://github.com/Bodmer/TFT_eSPI/pull/1681 the offset should be 20.

st7789.ST7789(spi, 280, 240, xstart=20 (or ystart=20))

devbis avatar Jan 14 '24 12:01 devbis