initHal

expect fun initHal(enableDblBuffer: Boolean): Triple<DisplayDrawBuffer, DisplayDriver, Display>

Initializes the HAL (Hardware Abstraction Layer) for LVGL. It is strongly recommended that this function is used since it automates many tasks. Remember to call io.gitlab.embedSoft.lvglKt.core.initLvgl before using this function.

Return

A Triple containing the following:

  1. Display buffer

  2. Display driver

  3. Display

Parameters

enableDblBuffer

If true then double buffering is used.

actual fun initHal(enableDblBuffer: Boolean): Triple<DisplayDrawBuffer, DisplayDriver, Display>