Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.58 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.58 KB

MIPI DCS HAL for HAGL Graphics Library

HAL for HAGL graphics library for display drivers supporting the MIPI Display Command Set. Currently tested with ST7735S, ST7789V and ILI9341.

Software License

Usage

To use with an ESP-IDF project you need to include three components. Low level MIPI DCS display driver, this HAL and the HAGL graphics library itself.

$ cd components
$ git submodule add [email protected]:tuupola/esp_mipi.git
$ git submodule add [email protected]:tuupola/hagl_esp_mipi.git
$ git submodule add [email protected]:tuupola/hagl.git

You can alter HAL behaviour via menuconfig. If you choose to use back buffer all drawing operations will be fast. Downside is that back buffer requires lot of memory. Each pixel is two bytes. To reduce the amount of data SPI bus has to transfer choose the option to flush only dirty part of back buffer. To reduce flickering you can also choose to lock back buffer while flushing. Locking will slow down draw operations though.

$ make menuconfig

For example usage see M5Stack GFX, M5Stick GFX and Mandelbrot.

License

The MIT License (MIT). Please see License File for more information.