Open Mantikor opened 7 years ago
Still a new display library should be used due to chip change ILI9163C --> ST7735C. Also suspect different display commands then. Any recommendation on that?
I think any display will do. But since only a few functions are used, it will not be too difficult to implement a different display.
no any changes needed for this type of display, different only pinout markup
Thank You Mantikor ! !
The ST7735 display worked like a Charm here ! No need to change anything on the code.
I changed the library and few lines...
//#include
//TFT_ILI9163C tft = TFT_ILI9163C ( TFT_CS, TFT_DC ) ; Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST); // TFT_RTS defined as -1
//tft.begin(); // Init TFT interface tft.initR(INITR_BLACKTAB); // Init ST7735S chip, black tab tft.setRotation ( 3 ) ; // Use landscape format tft.fillRect ( 0, 0, 160, 128, BLACK ) ; // Clear screen does not work when rotated //tft.clearScreen() ;
Pinout for TFT lcd with ST7735S controller