Commercial edition¶
The commercial edition adds to the advanced edition the use of external SPI SRAM memory for the frame-buffer and external SPI Flash memory for the fonts. It provides the source code for commercial usage.
Configure¶
The library is available as packages with code and header files.
Screen | Content |
---|---|
PDLS_EXT3_Advanced_Global |
All monochrome and colour screens, global update |
PDLS_EXT3_Advanced_Fast_Large |
Large monochrome screens, fast and partial update |
PDLS_EXT3_Advanced_Fast_Medium |
Medium monochrome screens, fast and partial update |
PDLS_EXT3_Advanced_Fast_Small |
Small monochrome screens, fast and partial update |
PDLS_EXT3_Advanced_Fast_Touch |
Touch monochrome screens, fast and partial update |
Font | Content |
---|---|
hV_Font_DejaVu_Flash |
DejaVu fonts on external SPI Flash memory |
hV_Font_DejaVu_Header |
DejaVu fonts on internal MCU Flash memory |
hV_Font_Terminal |
Terminal fonts on internal MCU 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, header file on serial console |
- Install the packages following the procedure Installing additional Arduino libraries .
Use¶
-
Launch the Arduino IDE.
-
Call the menu Tools > Boards... to select a board.
Global update for all monochrome and colour screens,
-
Call the menu File > Examples > PDLS_EXT3_Global > eScreen_EXT_WhoAmI.
-
Ensure the library is included.
#include "PDLS_EXT3_Advanced_Global.h";
- Edit the line and set the correct screen and board.
Screen_EPD_EXT3 myScreen(eScreen_EPD_EXT3_271, boardLaunchPad);
Fast and partial update for large 9.69" and 11.98" monochrome screens,
-
Call the menu File > Examples > PDLS_EXT3_Advanced_Fast_Large > eScreen_EXT_WhoAmI.
-
Ensure the library is included.
#include "PDLS_EXT3_Advanced_Fast_Large.h";
- Edit the line and set the correct screen and board.
Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_EXT3_969_0B, boardLaunchPad);
Fast and partial update for medium 5.81" and 7.41" monochrome screens,
-
Call the menu File > Examples > PDLS_EXT3_Advanced_Fast_Medium > eScreen_EXT_WhoAmI.
-
Ensure the library is included.
#include "PDLS_EXT3_Advanced_Fast_Medium.h";
- Edit the line and set the correct screen and board.
Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_EXT3_741_0B, boardLaunchPad);
Fast and partial update for small 1.54", 2.13", 2.66", 2.71", 2.87", 3.70", 4.17" and 4.37" monochrome screens,
-
Call the menu File > Examples > PDLS_EXT3_Advanced_Fast_Small > eScreen_EXT_WhoAmI.
-
Ensure the library is included.
#include "PDLS_EXT3_Advanced_Fast_Small.h";
- Edit the line and set the correct screen and board.
Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_EXT3_370_0C, boardLaunchPad);
Fast and partial update for 2.71" and 4.17" monochrome touch screens,
-
Call the menu File > Examples > PDLS_EXT3_Advanced_Fast_Touch > eScreen_EXT_WhoAmI.
-
Ensure the library is included.
#include "PDLS_EXT3_Advanced_Fast_Touch.h";
- Edit the line and set the correct screen and board.
Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_EXT3_271_Touch, boardLaunchPad);
- Click on Verify or Build.
The screen should display
Next¶
-
Select one of the pre-configured boards;
-
Set the configuration of the screen;
-
Use the application libraries, including graphics, GUI, files and bar- and QR-code;
-
Port the library to any other SDK by adapting the peripherals library;
-
Consult the reference manual for an exhaustive list of the functions with details of the parameters and returned values.