Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: RA8875.h
- Revision:
- 163:17526689a3ed
- Parent:
- 162:a2d7f1988711
- Child:
- 164:76edd7d9cb68
--- a/RA8875.h Mon Feb 11 03:44:42 2019 +0000
+++ b/RA8875.h Wed Feb 13 04:20:12 2019 +0000
@@ -2674,10 +2674,12 @@
/// @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[out] Name_BMP is the filename to write the image to.
+ /// @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
/// @return success or error code.
///
- RetCode_t PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP);
+ RetCode_t PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP, uint8_t bitsPerPixel = 24);
/// This method captures the specified area as a 24-bit bitmap file