Tagged: graphic

All STM32F4 libraries 128

All STM32F4 libraries

Because there is a lot of libraries I have done, I will make a table with all of my libraries at one place. When new library will be created, it will be posted here. These libraries work on both Discovery boards, if not, it will be specified. Actually, libraries should work on STM32F4xx series of microcontrollers if they have peripherals that are need for library. All STM32F4xx MCUs don’t have everything inside. 🙂 Libraries are tested on my 4 STM32F4...

ILI9341 Button library for STM32F4 52

Library 11- Button library for ILI9341 LCD and STMPE811 touch controller on STM32F429 Discovery board

Now we have both, LCD controller and touch controller configured and we can use this. For this purpose i made a library for buttons. This library can draw buttons on LCD and check if touch has been pressed on any enabled button. Library Features Set X and Y location of button Set button’s width and height By default 10 buttons are supported Use labels Custom background image or color Border around button Selectable font Disable/Enable button Selectable color for label,...

ILI9341 LCD on STM32F4 267

Library 08- ILI9341 LCD for STM32F4

On STM32F429 Discovery board there is LCD with ILI9341 controller. It has 240 x 320 pixels resolution and 16bit or 18bit color depth, what gives you 65536 or 262144 different colors. It has also a possibility of different way of connection, like serial, parallel, with VSYNC and HYSNC. STM32F429 has also LTDC driver for LCD like that, but this driver we will use later. For now we will use SPI for driving in serial mode and some other pins for controlling. I...