EpdFrameUpdate()

Library Description ›› EPD ›› Common ›› Control ››
… visits
Parent Previous Next

Syntax

EpdFrameUpdate(bMode As Byte)

Parameters

Parameter

Description

bMode

Update mode to use:

Overview

EPD_UPDATE_LUT

EPD_UPDATE_NORMAL

EPD_UPDATE_PARTIAL

EPD_SETUP

Updates the screen, causing the information currently in the driver IC's GRAM to actually be displayed.


The update mode corresponds to a specific value written into a driver IC register, and the exact meaning of each value is family-dependent and apply to this driver family specifically, not EPD controllers in general.
Therefore use the general aliases as described for bMode.


Every call is the same two-step sequence: the mode byte is written to Display Update Control, then Master Activation triggers the actual refresh using whichever LUT and settings are currently loaded.

Note: EPD_UPDATE_NORMAL and EPD_UPDATE_PARTIAL currently share the same value — this is a temporary placeholder, not a hardware quirk. As covered earlier, partial update isn't fully implemented yet; once that work is complete, EPD_UPDATE_PARTIAL will trigger a genuinely distinct refresh from EPD_UPDATE_NORMAL. For now, selecting either produces the same full-frame update.


TftSetSndFont(5,0)                                              'Set current SND font to #5

TftPrintSndString("BuyDisplay 2.6", 1,176,37,0, BLACK,WHITE,0)'Print string

EpdSendBuffers()                                                'Send buffers to EPD RAM

EpdFrameUpdate(EPD_UPDATE_NORMAL)                               'Update EPD screen

Created with the Personal Edition of HelpNDoc: Free help authoring tool