The screen library brings the specific routines required by the e-paper screens.
Compared to other screens, the e-paper screens relies on a frame-buffer.
First, the commands for drawing text and graphics update the frame-buffer.
Then, the command
flush()sends the content of the frame-buffer to the screen and refreshes the panel.
The library deals with the logical screen, with
y coordinates, which takes into account the orientation.
It is an abstraction of the physical screen with horizontal and vertical coordinates defined by the data-sheet.
The screen library exposes the screen object.
Two ancillary libraries share common functions. The
hV_Board library includes the low-level functions for the EXT3-1 board hardware and simulated Viewer. The
hV_Utilities_EPD library shares common functions and variables for all the screens.