PaulStoffregen / ST7735_t3

Teensy 3.x Optimized Version of Adafruit_ST7735 (1.8 inch TFT Display)
33 stars 16 forks source link

Fix some pin names and constructors #28

Closed KurtE closed 3 years ago

KurtE commented 3 years ago

For the Verbose version, there was an ST7735 and an ST7789 version, but the ST7735 was accidentally edited to ST7789 version... So fixed that but still left the ST7789 as default one by un-commenting the appropriate lines.

Also fixed teh short version of the ST7735 constructor which was using (cs, dc, rst) instead of what all of the others were using (TFT_CS, TFT_DC, TFT_RST)

Two examples were this way.

I did verify that at least in the graphictest case, I was then able to comment out the ST7789 constructor and uncomment the fixed one for ST7735 and then change which init was called and it builds again