lexus2k / lcdgfx

Driver for LCD displays running on Arduino/Avr/ESP32/Linux (including Rasperry) platforms
MIT License
357 stars 51 forks source link

Support for ST7735 80x160 0,96'' #51

Closed T94T closed 3 years ago

T94T commented 3 years ago

Is there a way to support the smaller ST7735 TFT display? grafik

lexus2k commented 3 years ago

Hello again,

So, could you please send me a link to datasheet, and let me know what happens, when using DisplayST7735_128x160x16_CustomSPI constructor. Thank you

Best regards

T94T commented 3 years ago

It's working quite well at this point. I think, it is only a question of resolution. 0.96 inch 80x160 IPS LCD.pdf

grafik
lexus2k commented 3 years ago

Please, find initial support for the display on master branch. For testing, don't forget to change 128x160 in the demo code to 80x160 (there are 2 such places). And could you please capture screenshots for me for all rotation options (0,1,2,3)?

PS. Don't worry about drawBitmap() issues with owl. That's because the picture is of 128x64 size, while drawBitmap() doesn't support clipping.

T94T commented 3 years ago

These are the results: Rotation 0

Rotation0

Rotation 1

Rotation1

Rotation 2

Rotation2

Rotation 3

Rotation3
lexus2k commented 3 years ago

Thank you. It looks like real lcd works, the problem only remains in the emulator.