Hello, The g_lcd_spi_callback function is only used for flow control during the LCD initialization. The display itself is driven directly from the Graphic LCD controller using 16-bit interface. The callback function you're looking for is (in my project) app_display_refresh(). In the example I provided, I do some bit order manipulation and copy from write to read buffer - your application can fully replace that with I2C transaction for pixel drawing (where g_display_fb_background[0] is the base of the monchrome frame buffer rendered by GUIX). As for sub-byte resource generation, I'm not sure if the upcoming GUIX Studio release implements it, however my project includes an additional function that draws 8bpp bitmaps onto 1bpp canvas (assuming your color table only has 2 entries) - you can see it being used when rendering the splash screen. If you'd like to read your images from different source (i.e. byte array produced using some other utility), you may not be able to use GUIX image-drawing API as GUIX relies on the table of pixelmaps (and specific bitmap format) which is produced using GUIX Studio (however as emphasized above, you can look at the app_gx_display_driver_pixelmap_draw function that's invoked every time a pixelmap is drawn, to implement your own function for this purpose). Regards
↧