Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By sumotoy
#35275 ssylca, you have to use the last ESP8266 2.0.0-rc2,Arduino IDE 1.65, TFT_ILI9163C pre-release 1.0r1 (not the master! It's old), and I have tested now all the ESP8266 examples and I don't have any error or warning, of course the other examples (outside ESP8266) are never tested.
Looks like you are using an old version of ESP8266?
Try look your arduino Board Manager and check for your ESP8266 version, if it's old I raccomand deinstall completely, reinstall the new one and before use restart ide as well.
User avatar
By sumotoy
#35277 I already tried different by using an inverting buffer but since lines are pullup internally inside the RA chip (and not by external pullup) maybe it can work with a open collector inverting buffer.
User avatar
By sumotoy
#35281 Sorry, I always forget the point. The SPI lines should stay tristate or the other devices on the same line will not work. Using simply a inverter will not work, at list, another chip that isolate the whole SPI device it's needed, something like a 74hc125.
Again, I'm out of topic, sorry!
User avatar
By freedom2000
#35282
sumotoy wrote:I already tried different by using an inverting buffer but since lines are pullup internally inside the RA chip (and not by external pullup) maybe it can work with a open collector inverting buffer.


or simply with a N mosfet + resistor

Image

If you do this on the clock signal it should be compliant with mode0 on ESP side and Mode3 on LCD :

Image

JP