ILI9486

GFXLCD AND ILIs – PART 4 images in C

Today we will try and draw images from our C lib. This is the next step with the wrapper. Why? Because we will be sending Python Object to C code and use it there.

It is getting weirder πŸ™‚

Source @ GitHub

GFXLCD AND ILI9325 C DRIVER – PART 3
GFXLCD AND ILI9325 C DRIVER – PART 2
– GFXLCD AND ILI9325 C DRIVER – PART 1

(more…)

Advertisements

GfxLCD and ILI9486 C driver – part 3

This time we will add an ILI9486 via SPI support to our C code. And while doing it we will refactor structure and clean up the code (or do more mess :P).
I was thinking that C wrapper should be part of GfxLCD package but maybe it is better to create it as a separate module? We will see but this time the code is available @GitHub.

GFXLCD AND ILI9325 C DRIVER – PART 2
GFXLCD AND ILI9325 C DRIVER – PART 1

(more…)

GfxLCD and drawing a text

Finally, something that is missingΒ from the start, the ability to write some text on display. In Doton we needed an ability to display numbers and we have done it via images. It was a partial solution but good enough. But we want more πŸ™‚

So this time fonts, text and another step in endless struggle with displaying anything anywhere πŸ™‚

(more…)

Raspberry PI, GfxLCD and ILI9486

Recently I bought an LCD 4″ IPS with an ILI9486 chip from Waveshare. It should be better than 2.8″ πŸ™‚ In instruction states that this display can work as system screen and I thought that maybe we can use PyQt or something instead of a custom driver.
The idea died quickly. I tried to run it on Raspberry Pi Zero W and this is not trivial πŸ™‚ First, I hit the bug with inability to use GPIO #17 and driver couldn’t be loaded. After some googling, I know that this is caused by the newest kernel. So I reverted to old one and… screen booted up but WiFi and Bluetooth did not.
So this way is no go. Back to the original idea and custom driver for ILI9486.
(more…)