Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By sumotoy
#42024 This library it's based on my TFT_ILI9163C that works with ESP, same speed, same features. It compiles but never really tested (but should work):
https://github.com/sumotoy/TFT_ST7735/tree/1.1b1

A display suitable (but any similar should work):
http://www.ebay.it/itm/1-8-inch-1-8-TFT-LCD-Display-module-ST7735S-128x160-51-AVR-STM32-ARM-8-16-bit-/272041590803?hash=item3f56f14013:g:um8AAOSwSdZWeg58
(just as example, I'm not affiliated to any vendor).
Please feedback me if you have time to test, I'm gonna update all my github TFT/OLED drivers in the same way so it's possible to change display without touch the code.
User avatar
By sumotoy
#42099 Since ST7735 cannot work over 65Mhz I had to modify a parameter in library settings to fix. Now tested and works with ESP8266 as it should, proof of working on github.
Thanks for feedbacks!
User avatar
By woodat
#42405 (Haven't downloaded to look yet)

Does this offer any advantages over the modified Adafruit library for the ST7735 and the ESP? Speed/functionality/etc?

https://github.com/esp8266/Arduino/blob ... th-the-ide
User avatar
By sumotoy
#42424 Quite different, this one it's almost a porting of ILI9163C, same commands, more than adafruit, it uses only native SPI and it's SPI transaction compatible (this mean play nice with other SPI devices connected in the same).
It's probably faster since I'm using SPI speed near the maximum supported by ST7735 and thanks SPI transaction I'm able to maintain that speed even if other SPI devices connected using different speed (of course all must use SPI transactions).