This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GFX Library

I don't quite get how this works from the documentation and examples provided, i have a display not yet implemented in your drivers, but I have written my own which just transfers a buffer from RAM in the MCU to the display..

Do you have something to help me get started with the new GFX lib ?

  • First of all you have to have a driver for your display. This driver must provide following functions:

    1. lcd_init
    2. lcd_uninit
    3. lcd_pixel_draw
    4. lcd_rect_draw
    5. lcd_display
    6. lcd_rotation_set
    7. lcd_display_invert

    Once you have you need to pass it to GFX module. You can base on example presenting spi_mngr (sdk\examples\peripheral\spi_master_using_nrf_spi_mngr)

Related