Fork of David Smart's RA8875 library

Fork of RA8875 by David Smart

Committer:
WiredHome
Date:
Mon Jan 20 19:19:48 2014 +0000
Revision:
31:c72e12cd5c67
Child:
32:0e4f2ae512e2
Support for Bitmap graphics (tested 4-bit and 8-bit formats, have not tested 1-bit or 24-bit).

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WiredHome 31:c72e12cd5c67 1 #ifndef DISPLAYDEFS_H
WiredHome 31:c72e12cd5c67 2 #define DISPLAYDEFS_H
WiredHome 31:c72e12cd5c67 3
WiredHome 31:c72e12cd5c67 4 typedef uint16_t color_t;
WiredHome 31:c72e12cd5c67 5
WiredHome 31:c72e12cd5c67 6 /// return values from functions
WiredHome 31:c72e12cd5c67 7 typedef enum
WiredHome 31:c72e12cd5c67 8 {
WiredHome 31:c72e12cd5c67 9 noerror, ///< no errors, command completed successfully
WiredHome 31:c72e12cd5c67 10 bad_parameter, ///< one or more parameters are invalid
WiredHome 31:c72e12cd5c67 11 file_not_found, ///< specified file could not be found
WiredHome 31:c72e12cd5c67 12 not_bmp_format, ///< file is a not bmp file
WiredHome 31:c72e12cd5c67 13 not_supported_format, ///< file format is not yet supported
WiredHome 31:c72e12cd5c67 14 image_too_big, ///< image is too large for the screen
WiredHome 31:c72e12cd5c67 15 not_enough_ram, ///< could not allocate ram for scanline
WiredHome 31:c72e12cd5c67 16 } RetCode_t;
WiredHome 31:c72e12cd5c67 17
WiredHome 31:c72e12cd5c67 18 #endif // DISPLAYDEFS_H