Viewer edition¶
The Viewer edition runs as a Linux and Windows native application to simulate an e-paper screen and manage touch. It shares the same fonts and application libraries with the Commercial edition.
It allows to develop the application software independently of the hardware. It is meant to be used with the Commercial edition.
Configure¶
Warning
Ensure the hardware and software configuration meets the requirements listed at the Used environment page.
The library is available as packages with source code and header files.
Screen | Content |
---|---|
PDLS_Viewer |
Touch monochrome screens, normal and fast update modes |
Font | Content |
---|---|
hV_Font_DejaVu_Header |
DejaVu fonts on internal Flash memory |
hV_Font_Terminal |
Terminal fonts on internal Flash memory |
Application | Content |
---|---|
hV_Graphics |
Advanced graphics |
hV_GUI |
GUI with touch and haptic feed-back |
hV_Code |
Bar- and QR-code |
hV_File |
BMP and header file on SD-card |
hV_Serial |
Header file on serial console |
Use¶
-
Launch the IDE.
-
Ensure the library is included.
#include "Pervasive_Viewer_Touch.h"
#include "PDLS_Viewer_Touch.h"
- Edit the lines and set the correct driver and screen. The main controller board can be ignored.
Pervasive_Viewer_Touch myDriver(eScreen_EPD_370_PS_0C_Touch, boardNone);
Screen_EPD myScreen(&myDriver);
-
Launch the build process.
-
Launch the executable.
The screen should display
See also¶
-
Set the configuration of the screen;
-
Use the application libraries, including Graphics, GUI, Bar- and QR-code, Files, and Serial;
-
Refer to the reference manual for an exhaustive list of the functions with details of the parameters and returned values.