sumotoy / TFT_ST7735

A fast driver for ST7735 displays that works with Arduino's /All Teensy's/ESP8266/SPARK
69 stars 31 forks source link

Dont work with esp8266 #2

Closed freezedi closed 8 years ago

freezedi commented 8 years ago

Hello. TFT_ST7735.h gives error with NodeMcu 0.9(esp8266). string number 590: SPI.transfer(d >> 8); -->replace on: SPI.transfer(c >> 8); string number 591: SPI.transfer(d); -->replace on: SPI.transfer(c); string number 607: __dcState = 1; -->replace on: _dcState = 1;

Thanks for your libraries!

P. S. i founded the function (int correctColorAdjust) colors correction for this type TFT. https://github.com/sumotoy/TFT_ILI9163C/issues/26 maybe you will adds function for colors in your libs or its already exists i dont know