Page 4 of 4

Re: ILI9340/ILI9341 TFT Display

Posted: Sat Feb 03, 2018 12:17 pm
by on4aa
@rcolistete
rcolistete wrote:
Fri Feb 02, 2018 10:46 am
But I prefer to use Loboris MicroPython for ESP32, configured with :
https://github.com/tuupola/micropython-m5stack
Thanks, tuupola !
Thanks for the tip. I will definitely try that out.
I had seen tuupola's repository before, but had thought is was some sort of placeholder for a future project. Now, that I read his code, I understand its purpose.

Tuupola should do good writing a brief READ.ME to his project. That way more people will take the jump.

Re: ILI9340/ILI9341 TFT Display

Posted: Sun Feb 04, 2018 12:37 pm
by tuupola
Added some basic documentation. I did not even know somebody had already found it :) Project is still evolving so BC breaks will happen. I only recently started coding Python (because of MicroPython) and haven't really found my coding style yet, so that might change too.

In any case I don't want to hijack this thread so I open another one for discussion related to my project.

Re: ILI9340/ILI9341 TFT Display

Posted: Sun Feb 04, 2018 3:18 pm
by on4aa
tuupola wrote:
Sun Feb 04, 2018 12:37 pm
In any case I don't want to hijack this thread so I open another one for discussion related to my project.
Thanks tuupola!
For those following this trail, here is the new M5Stack thread.

Re: ILI9340/ILI9341 TFT Display

Posted: Wed Apr 18, 2018 10:55 am
by ulros
[quote=jeffm post_id=24418 time=1515245375 user_id=520]
The github repository is:
[url]https://github.com/jeffmer/micropython-ili9341[/url]
[/quote]

Hi, I am a newbie to all this and have a m5stack ESP32. I managed to install the following micro python firmware to it:
https://github.com/loboris/MicroPython_ ... D/firmware

How can I install your LCD drive so that I can write some text and display it?
Sorry for the noob question...

Re: ILI9340/ILI9341 TFT Display

Posted: Tue Jun 18, 2019 3:21 am
by ProudPagan
Hi Everyone.

Has anyone got this code for (ILI9340/ILI9341 TFT Display) working on the STM32F407?

Thanks!

Re: ILI9340/ILI9341 TFT Display

Posted: Sat Sep 14, 2019 9:58 pm
by georgy
Hi Everyone.

Has anyone got this code for (ILI9340/ILI9341 TFT Display) working on the STM32F401RE?

Thanks!

Re: ILI9340/ILI9341 TFT Display

Posted: Fri Nov 29, 2019 6:09 am
by vitalis
deshipu wrote:
Wed Oct 04, 2017 11:14 am
It has been released as https://github.com/adafruit/micropython ... gb-display with a MIT license.
Hi, do you know will the driver work with this 2.8″ Touch LCD SPI display? If so how to set up SPI pins in ESP32 DEVKIT V1?

UPDATE: I got it working with following test (with some complains from SPI driver):

Code: Select all

import ili9341
from machine import Pin, SPI
vspi = SPI(2, baudrate=32000000, miso=Pin(19),mosi=Pin(23), sck=Pin(18))
display = ili9341.ILI9341(vspi, cs=Pin(2), dc=Pin(27), rst=Pin(33))
display.fill(ili9341.color565(0xff, 0x11, 0x22))
display.pixel(120, 160, 0)

Re: ILI9340/ILI9341 TFT Display

Posted: Mon Dec 02, 2019 8:41 pm
by vitalis
After playing with rotation parameters of ILI9340/ILI9341 TFT controller I got the display working with esp32 devkit1.

I made a pull request to micropython-ili9341 project:

1. New API for display initialization - Width, Height and Rotation:

Code: Select all

display = ILI9341(spi, cs=Pin(2), dc=Pin(27), rst=Pin(33), w=320, h=240, r=0)
2. Rotation parameter effects (0 - 3: rotation; 4 - 7: mirroring+rotation):