Pervasive Displays Library Suite - Reference Manual 9.0.3
Library for Pervasive Displays e-paper screens, extension boards and development kits
|
Screen saved as pixmap header file on SD-card. More...
#include <hV_File_P4.h>
Public Member Functions | |
File_P4 (Screen_EPD *screen) | |
Constructor object. | |
uint8_t | saveScreen (STRING_CONST_TYPE name) |
Screen saved as pixmap header file to SD-card. | |
uint8_t | readScreen (const uint8_t *imageP4) |
Read an P4 image from a header file. | |
Public Member Functions inherited from File_System | |
File_System () | |
Constructor. | |
uint8_t | beginFileSystem (uint8_t pinCS=NOT_CONNECTED, uint8_t port=0, int8_t pinDetect=-1, int level=LOW) |
File system initialisation. | |
uint8_t | endFileSystem () |
Close file system. | |
uint8_t | setFolder (STRING_CONST_TYPE name) |
Set the folder for files. | |
uint8_t | suspendFileSystem () |
Suspend file system. | |
uint8_t | resumeFileSystem () |
Resume file system after suspend. | |
uint8_t | saveScreen (STRING_CONST_TYPE name, uint8_t multiplier=1) |
Screen saved as file to SD-card. | |
uint8_t | saveWindow (STRING_CONST_TYPE name, uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy, uint8_t multiplier=1) |
Save partial window as file to SD-card. | |
uint8_t | readScreen (STRING_CONST_TYPE name, uint8_t multiplier=1) |
Load and display BMP file. | |
void | printFileSystemError () |
Print the file system error. | |
Screen saved as pixmap header file on SD-card.
Shared header for Linux and MCU
File_P4::File_P4 | ( | Screen_EPD * | screen | ) |
Constructor object.
screen | &screen to link File_P4 to |
uint8_t File_P4::readScreen | ( | const uint8_t * | imageP4 | ) |
Read an P4 image from a header file.
Framebuffer updated, flush required
imageP4 | PBM P4 pixmap header file |
uint8_t File_P4::saveScreen | ( | STRING_CONST_TYPE | name | ) |
Screen saved as pixmap header file to SD-card.
name | file name, only letters and numbers |