This is the David Smart RA8875 Library with mods for working with FRDM-K64F
Diff: RA8875.h
- Revision:
- 164:76edd7d9cb68
- Parent:
- 163:17526689a3ed
- Child:
- 165:695c24cc5197
--- a/RA8875.h Wed Feb 13 04:20:12 2019 +0000 +++ b/RA8875.h Thu Feb 14 12:34:52 2019 +0000 @@ -329,7 +329,7 @@ TP_Manual, ///< Manual touch detection mode } tpmode_t; - /// printscreen callback commands + /// PrintScreen callback commands typedef enum { OPEN, ///< command to open the file. cast uint32_t * to the buffer to get the total size to be written. @@ -2677,6 +2677,8 @@ /// @param[in] Name_BMP is the filename to write the image to. /// @param[in] bitsPerPixel is optional, defaults to 24, and only /// accepts the values 24, 8 + /// NOTE: The downscaling is CPU intensive, and the operation + /// takes longer. /// @return success or error code. /// RetCode_t PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP, uint8_t bitsPerPixel = 24); @@ -2701,9 +2703,13 @@ /// @param[in] y is the top edge of the region to capture /// @param[in] w is the width of the region to capture /// @param[in] h is the height of the region to capture. + /// @param[in] bitsPerPixel is optional, defaults to 24, and only + /// accepts the values 24, 8 + /// NOTE: The downscaling is CPU intensive, and the operation + /// takes longer. /// @return success or error code. /// - RetCode_t PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h); + RetCode_t PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h, uint8_t bitsPerPixel = 24); /// PrintScreen callback registration.