Library for communicating with the IL3820 E-Paper display driver.
More...
Library for communicating with the IL3820 E-Paper display driver.
◆ ARRAY_SIZE
◆ SIF_IL3820_BUSY_PIN
#define SIF_IL3820_BUSY_PIN 31 |
◆ SIF_IL3820_BUSY_TIMEOUT
#define SIF_IL3820_BUSY_TIMEOUT 5000 |
◆ SIF_IL3820_DC_PIN
#define SIF_IL3820_DC_PIN 34 |
◆ SIF_IL3820_HEIGHT
#define SIF_IL3820_HEIGHT 296 |
◆ SIF_IL3820_RST_PIN
#define SIF_IL3820_RST_PIN 15 |
◆ SIF_IL3820_WIDTH
#define SIF_IL3820_WIDTH 128 |
◆ SIF_IL3820_Clear_Mode
Enumerator |
---|
WITH_CLEAR | |
WITHOUT_CLEAR | |
◆ SIF_IL3820_Update_Mode
Enumerator |
---|
FULL_UPDATE | |
PARTIAL_UPDATE | |
◆ SIF_IL3820_ClearDisplay()
void SIF_IL3820_ClearDisplay |
( |
void |
| ) |
|
◆ SIF_IL3820_DeepSleep()
void SIF_IL3820_DeepSleep |
( |
void |
| ) |
|
Enter deep sleep mode.
Device draws around 2uA in this mode.
◆ SIF_IL3820_Deinitialise()
void SIF_IL3820_Deinitialise |
( |
void |
| ) |
|
◆ SIF_IL3820_DisplayImage()
Follows Routines for clearing, waiting and displaying the image.
- Parameters
-
image | - The image to be overlaid on the eink screen. |
mode | - Whether or not the display will be cleared before the image is displayed |
◆ SIF_IL3820_Initialise()
EINK Initialisation.
- Parameters
-
mode | - Whether to initialise for FULL_UPDATE or PARTIAL_UPDATE |
◆ SIF_IL3820_overlay_qr_code()
ca_error SIF_IL3820_overlay_qr_code |
( |
const char * |
text, |
|
|
uint8_t * |
image, |
|
|
uint8_t |
scale, |
|
|
uint8_t |
x, |
|
|
uint8_t |
y |
|
) |
| |
Creates a QR code and overlays it on top of a pre-existing image at the given coordinates.
- Parameters
-
text | - The text string that is encoded into a QR symbol. |
image | - The image that is overlaid by the QR symbol. |
scale | - scaling of the image, 1 or 2 supported. |
x | - The x-coordinate of the top-left corner of the QR symbol. |
y | - The y-coordinate of the top-left corner of the QR symbol. |
◆ SIF_IL3820_StrongClearDisplay()
void SIF_IL3820_StrongClearDisplay |
( |
void |
| ) |
|
Clears the display many times to make sure there is no ghost image.