devbis / st7789py_mpy

Slow micropython driver for 240x240 ST7789 display without CS pin from Ali Express, written in MicroPython
MIT License
82 stars 33 forks source link

Display always green #3

Closed ds2k5 closed 4 years ago

ds2k5 commented 4 years ago

Hello, tryed you example code on my ESP32D0WDQ6.

display.pixel(120, 120, st7789py.RED)

display.pixel(120, 120, st7789py.YELLOW)

But display always green.

It is a ST7789V not a ST7789 Display

http://www.lilygo.cn/claprod_view.aspx?TypeId=21&Id=1128&FId=t28:21:28

How to fix this ? Thanks

devbis commented 4 years ago

Sorry, I can't help. I don't have the screen model that you have. There can be various reasons for that.

ds2k5 commented 4 years ago

OK thanks Send me a PM I have a idea

devbis commented 4 years ago

I added the default offsets for the 135x240 display. It may help with the positioning of pixels but I doubt it could solve your problem. Anyway, you can try