Driver ST7735 for TFT color displays (#72)

* Driver ST7735 for TFT color displays
This commit is contained in:
Daniel Esteban
2019-08-03 11:13:15 +02:00
committed by Ron Evans
parent eb040dde9c
commit 45922f6524
6 changed files with 541 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# ST7735 driver
There are multiple devices using the ST7735 chip, and there are multiple versions ST7735B, ST7735R & ST7735S. Two apparently identical displays might have different configurations. The most common issues are:
* Colors are inverted (black is white and viceversa), invert the colors with display.InvertColors(true)
* Colors are not right (red is blue and viceversa, but green is ok), some displays uses BRG instead of RGB for defining colors, change the mode with display.IsBGR(true)
* There is noise/snow/confetti in the screen, probably rows and columns offsets are wrong, configure them with st7735.Config{RowOffset:XX, ColumnOffset:YY}
If nothing of the above works, your device may need a different boot-up process.